File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- name : 部署文档
1
+ name : Deploy Golang Notes Docs
2
2
3
3
on :
4
4
push :
@@ -19,27 +19,31 @@ jobs:
19
19
# 如果你文档需要 Git 子模块,取消注释下一行
20
20
# submodules: true
21
21
22
- - name : 设置 Node.js
22
+ - name : Set Node.js
23
23
uses : actions/setup-node@v3
24
24
with :
25
25
node-version : 20
26
26
cache : npm
27
27
28
- - name : 安装依赖
28
+ - name : Install Dependency
29
29
run : |
30
30
corepack enable
31
31
npm ci
32
32
33
- - name : 构建文档
33
+ - name : Build Docs
34
34
env :
35
35
NODE_OPTIONS : --max_old_space_size=8192
36
36
run : |-
37
37
npm run docs:build
38
38
> docs/.vuepress/dist/.nojekyll
39
39
40
- - name : 部署文档
40
+ - name : Deployment Document
41
41
uses : JamesIves/github-pages-deploy-action@v4
42
42
with :
43
43
# 部署文档
44
44
branch : gh-pages
45
45
folder : docs/.vuepress/dist
46
+
47
+ - name : Synchronization server
48
+ run : |
49
+ curl -X GET https://www.golangnotes.com/git-pull
You can’t perform that action at this time.
0 commit comments