Skip to content

Commit b5d1e66

Browse files
committed
deploy
1 parent 923faa9 commit b5d1e66

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ jobs:
5555
path: ./docs/
5656

5757
# 上传网站
58-
#- name: Upload site
59-
# env:
60-
# # 在github仓库当前项目配置设置
61-
# AUTH_TOKEN: ${{ secrets.UPLOAD_SITE_AUTH_TOKEN }}
62-
# UPLOAD_URL: ${{ secrets.UPLOAD_SITE_URL }}
63-
# run: |
64-
# cd ./deploy
65-
# go build deploy.go
66-
# move deploy.exe ../
67-
# cd ../
68-
# dir
69-
# ./deploy.exe -github=true -site=false
70-
# ./deploy.exe -github=false -site=true
58+
- name: Upload site
59+
env:
60+
# 在github仓库当前项目配置设置
61+
AUTH_TOKEN: ${{ secrets.UPLOAD_SITE_AUTH_TOKEN }}
62+
UPLOAD_URL: ${{ secrets.UPLOAD_SITE_URL }}
63+
run: |
64+
cd ./deploy
65+
go build deploy.go
66+
move deploy.exe ../
67+
cd ../
68+
dir
69+
./deploy.exe -github=true -site=false
70+
./deploy.exe -github=false -site=true
7171
7272
# 部署工作
7373
deploy:

0 commit comments

Comments
 (0)