-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49477af
commit d990488
Showing
3 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
build-blog: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: 签出仓库 | ||
|
@@ -21,10 +21,10 @@ jobs: | |
repository: jerryc127/hexo-theme-butterfly | ||
path: themes/butterfly | ||
|
||
- name: 安装Node.js | ||
- name: 安装 Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
node-version: 22 | ||
|
||
- name: 设置包缓存目录 | ||
uses: actions/cache@v4 | ||
|
@@ -43,7 +43,7 @@ jobs: | |
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./public | ||
|
||
- name: Deploy to GitHub Pages | ||
run: | | ||
git config --global user.email "[email protected]" | ||
|
@@ -53,4 +53,4 @@ jobs: | |
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git | ||
git add . | ||
git commit -m "Deploy to GitHub Pages" | ||
git push --force origin main:pages | ||
git push --force origin main:pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,9 @@ favicon: /favicon.ico | |
|
||
# 社交图标 | ||
social: | ||
fab fa-github: https://github.com/YangRucheng || Github | ||
fab fa-github: https://github.com/YangRucheng/Blog-Hexo || Github | ||
fab fa-qq: https://qm.qq.com/q/rtZpWJIgPQ || QQ | ||
fab fa-bilibili: https://space.bilibili.com/472876342 || 哔哩哔哩 | ||
fab fa-house: https://misaka-network.top || 御坂网络工作室 | ||
fas fa-envelope: mailto:[email protected] || Email | ||
|
||
# 头像 | ||
|
@@ -64,9 +63,9 @@ cover: | |
# 评论 | ||
# Giscus https://giscus.app/ | ||
giscus: | ||
repo: "YangRucheng/Blog-Hexo" | ||
repo_id: "R_kgDOI4-j6Q" | ||
category_id: "DIC_kwDOI4-j6c4CUaSX" | ||
repo: YangRucheng/Blog-Hexo | ||
repo_id: R_kgDOI4-j6Q | ||
category_id: DIC_kwDOI4-j6c4CUaSW | ||
theme: | ||
light: light | ||
dark: dark | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.