Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
  • Loading branch information
YangRucheng committed Jan 16, 2025
1 parent 49477af commit d990488
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/hexo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-blog:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: 签出仓库
Expand All @@ -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
Expand All @@ -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]"
Expand All @@ -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
9 changes: 4 additions & 5 deletions _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

# 头像
Expand Down Expand Up @@ -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
Expand Down
Binary file added source/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d990488

Please sign in to comment.