Skip to content

Commit c221acb

Browse files
committed
Add Synchronization server
1 parent 0b95622 commit c221acb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/deploy-docs.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 部署文档
1+
name: Deploy Golang Notes Docs
22

33
on:
44
push:
@@ -19,27 +19,31 @@ jobs:
1919
# 如果你文档需要 Git 子模块,取消注释下一行
2020
# submodules: true
2121

22-
- name: 设置 Node.js
22+
- name: Set Node.js
2323
uses: actions/setup-node@v3
2424
with:
2525
node-version: 20
2626
cache: npm
2727

28-
- name: 安装依赖
28+
- name: Install Dependency
2929
run: |
3030
corepack enable
3131
npm ci
3232
33-
- name: 构建文档
33+
- name: Build Docs
3434
env:
3535
NODE_OPTIONS: --max_old_space_size=8192
3636
run: |-
3737
npm run docs:build
3838
> docs/.vuepress/dist/.nojekyll
3939
40-
- name: 部署文档
40+
- name: Deployment Document
4141
uses: JamesIves/github-pages-deploy-action@v4
4242
with:
4343
# 部署文档
4444
branch: gh-pages
4545
folder: docs/.vuepress/dist
46+
47+
- name: Synchronization server
48+
run: |
49+
curl -X GET https://www.golangnotes.com/git-pull

0 commit comments

Comments
 (0)