Skip to content

Commit 5431c0c

Browse files
committed
更新仓库地址;更新工作流;
1 parent 6717570 commit 5431c0c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
- name: Checkout Repository backup branch
1717
uses: actions/checkout@master
1818

19-
- name: Setup Node.js lts #16.x
19+
- name: Setup Node.js lts
2020
uses: actions/setup-node@master
21-
#with:
22-
# node-version: "16.x"
21+
with:
22+
node-version: "22.x"
2323

24-
- name: Setup pandoc.deb lts # 插件 hexo-renderer-pandoc 依赖于此软件
25-
run: |
26-
wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb
27-
sudo dpkg -i pandoc-2.17.1.1-1-amd64.deb
24+
# - name: Setup pandoc.deb lts # 插件 hexo-renderer-pandoc 依赖于此软件
25+
# run: |
26+
# wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb
27+
# sudo dpkg -i pandoc-2.17.1.1-1-amd64.deb
2828

2929
- name: Setup Hexo Dependencies
3030
env:
@@ -34,10 +34,11 @@ jobs:
3434
echo "$HEXO_DEPLOY_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
3535
chmod 600 ~/.ssh/id_rsa
3636
ssh-keyscan github.com >> ~/.ssh/known_hosts
37-
git config --global user.name 'nsleep'
37+
git config --global user.name 'simon7073'
3838
git config --global user.email 'simoncq@163.com'
3939
npm install hexo -g
4040
npm install
41+
4142
4243
- name: Deploy Hexo
4344
run: |

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ theme: next
109109

110110
deploy:
111111
- type: git
112-
repo: git@github.com:nsleep/nsleep.github.io.git
112+
repo: git@github.com:simon7073/nsleep.github.io.git
113113
branch: gh-pages
114114

115115
# 网易云音乐 themes\next\layout\_macro\sidebar.swig

0 commit comments

Comments
 (0)