Compare commits
2 Commits
208f637f3e
...
78502f8d72
Author | SHA1 | Date | |
---|---|---|---|
78502f8d72 | |||
0124ca619f |
@ -1,21 +0,0 @@
|
|||||||
# GitHub Action 配置详细步骤
|
|
||||||
|
|
||||||
## 1.生成 GitHub API 令牌
|
|
||||||
|
|
||||||
- 在 [Create Tokens](https://github.com/settings/tokens) 这个地址,点击 `Generate new token` 按钮来创建 `GitHub API` 令牌
|
|
||||||
|
|
||||||
<img src="https://unpkg.com/dmego-home-page@latest/assets/img/action/action-1.png" alt="image-20230227085916038" style="zoom:33%;" />
|
|
||||||
|
|
||||||
- `Note` 填写 要生成的 `Token` 的备注值;`Expiration` 过期时间选择最后一项 `No expiration` 永不过期;`Select scopes` 勾选 `repo`,将 `Token` 的授权范围设置为仓库;点击最后的 `Generate Token` 按钮生成。
|
|
||||||
|
|
||||||
<img src="https://unpkg.com/dmego-home-page@latest/assets/img/action/action-2.png" alt="image-20230227090752728" style="zoom:33%;" />
|
|
||||||
|
|
||||||
## 2.创建仓库 Secrets
|
|
||||||
|
|
||||||
- 点击仓库的 `Settings`栏,选择左边 `Secret and variables`菜单下的 `Actions` 选项,点击进入创建界面。
|
|
||||||
|
|
||||||
<img src="https://unpkg.com/dmego-home-page@latest/assets/img/action/action-3.png" alt="image-20230227092324654" style="zoom:33%;" />
|
|
||||||
|
|
||||||
- 点击右侧的 `New repository secret` 按钮,在 `Name` 框中填 `GH_TOKEN`;在 `Secret` 栏中填写第一步生成的 `Token` 值。
|
|
||||||
|
|
||||||
<img src="https://unpkg.com/dmego-home-page@latest/assets/img/action/action-4.png" alt="image-20230227093655370" style="zoom:33%;" />
|
|
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 683 KiB |
Before Width: | Height: | Size: 1006 KiB |
Before Width: | Height: | Size: 251 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 115 KiB |
BIN
assets/imgs/logo.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
54
index.html
@ -6,15 +6,15 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="description" content="Dmego Home">
|
<meta name="description" content="GM Homepage">
|
||||||
<meta name="keywords" content="Dmego,Homepage">
|
<meta name="keywords" content="GM Homepage">
|
||||||
<meta name="author" content="Dmego">
|
<meta name="author" content="MasonLiu">
|
||||||
<title>Gaming Master</title>
|
<title>GM Homepage</title>
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/onlinewebfonts.css"/>
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/onlinewebfonts.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/vno.css">
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/vno.css">
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/iconfont.css">
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dmego-home-page@latest/assets/css/iconfont.css">
|
||||||
<link rel="apple-touch-icon" href="https://unpkg.com/dmego-home-page@latest/apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="./favicon.ico">
|
||||||
<link rel="icon" href="https://unpkg.com/dmego-home-page@latest/favicon.ico">
|
<link rel="icon" href="./favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -28,17 +28,17 @@
|
|||||||
<div class="panel-main__content">
|
<div class="panel-main__content">
|
||||||
<div class="ih-item circle effect right_to_left">
|
<div class="ih-item circle effect right_to_left">
|
||||||
<a href="#" title="" class="blog-button">
|
<a href="#" title="" class="blog-button">
|
||||||
<div class="img"><img src="https://unpkg.com/dmego-home-page@latest/assets/img/logo3.jpg" alt="img" class="js-avatar iUp profilepic"></div>
|
<div class="img"><img src="./assets/imgs/logo.jpg" alt="img" class="js-avatar iUp profilepic"></div>
|
||||||
<div class="info iUp">
|
<div class="info iUp">
|
||||||
<div class="info-back">
|
<div class="info-back">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
||||||
Fighting
|
奋斗
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
2023 · 突破
|
2024 · 创新
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -46,9 +46,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<h1 class="panel-cover__title panel-title iUp">
|
<h1 class="panel-cover__title panel-title iUp">
|
||||||
<a href="#" title="Dmego Home">Dmego</a>
|
<a href="#" title="GM Homepage">Mason Liu</a>
|
||||||
</h1>
|
</h1>
|
||||||
<p class="panel-cover__subtitle panel-subtitle iUp">Code Create Life</p>
|
<p class="panel-cover__subtitle panel-subtitle iUp">Gaming Master Cybersecurity</p>
|
||||||
<hr class="panel-cover__divider iUp" />
|
<hr class="panel-cover__divider iUp" />
|
||||||
<p id="description" class="panel-cover__description iUp">如何得与凉风约, 不共尘沙一并来!
|
<p id="description" class="panel-cover__description iUp">如何得与凉风约, 不共尘沙一并来!
|
||||||
<br/>
|
<br/>
|
||||||
@ -59,16 +59,29 @@
|
|||||||
<nav class="cover-navigation cover-navigation--primary">
|
<nav class="cover-navigation cover-navigation--primary">
|
||||||
<ul class="navigation">
|
<ul class="navigation">
|
||||||
<li class="navigation__item">
|
<li class="navigation__item">
|
||||||
<a href="/" class="blog-button">首页</a>
|
<a href="/" class="blog-button">主页</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="navigation__item">
|
<li class="navigation__item">
|
||||||
<a href="https://dmego.cn" class="blog-button" target="_blank">博客</a>
|
<a href="https://nav.masonliu.com" class="blog-button" target="_blank">导航</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="navigation__item">
|
<li class="navigation__item">
|
||||||
<a href="https://r.dmego.cn" class="blog-button" target="_blank">简历</a>
|
<a href="https://mail.masonliu.com" class="blog-button" target="_blank">邮箱</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="navigation__item">
|
<li class="navigation__item">
|
||||||
<a href="https://dmego.cn/about/" class="blog-button" target="_blank">关于</a>
|
<a href="https://resources.masonliu.com" class="blog-button" target="_blank">资源</a>
|
||||||
|
</li>
|
||||||
|
<li class="navigation__item">
|
||||||
|
<a href="https://git.masonliu.com/MasonLiu" class="blog-button" target="_blank">Git</a>
|
||||||
|
</li>
|
||||||
|
<li class="navigation__item">
|
||||||
|
<a href="https://docsys.masonliu.com/DocSystem" class="blog-button" target="_blank">Docsys</a>
|
||||||
|
</li>
|
||||||
|
<br>
|
||||||
|
<li class="navigation__item">
|
||||||
|
<a href="https://cntx.masonliu.com" class="blog-button" target="_blank">CNTX</a>
|
||||||
|
</li>
|
||||||
|
<li class="navigation__item">
|
||||||
|
<a href="https://masonliu.ste" class="blog-button" target="_blank">RTX</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
@ -98,7 +111,6 @@
|
|||||||
<li class="navigation__item">
|
<li class="navigation__item">
|
||||||
<!-- 加密的邮箱地址, 请自行修改, 或者改用下方的明文方式 -->
|
<!-- 加密的邮箱地址, 请自行修改, 或者改用下方的明文方式 -->
|
||||||
<a href="javascript:decryptEmail('ZG1lYWdvQGdtYWlsLmNvbQ==');" title="email">
|
<a href="javascript:decryptEmail('ZG1lYWdvQGdtYWlsLmNvbQ==');" title="email">
|
||||||
<!-- <a href="test@test.com" title="email"> -->
|
|
||||||
<i class='social iconfont icon-email'></i>
|
<i class='social iconfont icon-email'></i>
|
||||||
<span class="label">email</span>
|
<span class="label">email</span>
|
||||||
</a>
|
</a>
|
||||||
@ -111,16 +123,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-cover--overlay cover-slate"></div>
|
<div class="panel-cover--overlay cover-slate"></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="beian iUp">
|
|
||||||
<a class="icp" href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action" target="_blank">XXX</a>
|
|
||||||
<a class="gwab" href="http://www.beian.gov.cn/portal/recordQuery" target="_blank">XXX</a>
|
|
||||||
</div> -->
|
|
||||||
<div class="remark iUp">
|
|
||||||
<p class="power">Powered By
|
|
||||||
<a href="https://github.com/features/actions" target="_blank"> GitHub Actions </a> And
|
|
||||||
<a href="https://hitokoto.cn/" target="_blank"> Hitokoto </a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
<script type="text/javascript" src="https://unpkg.com/dmego-home-page@latest/assets/js/main.js"></script>
|
<script type="text/javascript" src="https://unpkg.com/dmego-home-page@latest/assets/js/main.js"></script>
|
||||||
<script type="text/javascript" src="./assets/json/images.json?cb=getBingImages"></script>
|
<script type="text/javascript" src="./assets/json/images.json?cb=getBingImages"></script>
|
||||||
|
21
package.json
@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "dmego-home-page",
|
|
||||||
"version": "1.0.5",
|
|
||||||
"description": "Dmego Home Page",
|
|
||||||
"scripts": {
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/dmego/home.github.io.git"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"Dmego",
|
|
||||||
"HomePage"
|
|
||||||
],
|
|
||||||
"author": "Dmego",
|
|
||||||
"license": "MIT",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/dmego/home.github.io/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/dmego/home.github.io#readme"
|
|
||||||
}
|
|