Skip to content

Commit b416319

Browse files
committed
feat: change the deploy config
1 parent 9d06497 commit b416319

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: buildAndDeployLibrary
55
on:
66
push:
77
branches:
8-
- main
8+
- master
99

1010
# jobs 也就是任务的意思
1111
jobs:
@@ -29,15 +29,15 @@ jobs:
2929
- name: Build
3030
run: npm run build # 打包
3131

32-
- name: Docs
33-
run: npm run docs-build # 打包文档
32+
# - name: Docs
33+
# run: npm run docs-build # 打包文档
3434

35-
- name: Deploy
36-
uses: peaceiris/actions-gh-pages@v3 # 使用部署到 GitHub pages 的 action
37-
with:
38-
publish_dir: ./docs/.vuepress/dist # 部署打包后的 dist 目录
39-
github_token: ${{ secrets.NFTSCAN_DEPLOY }} # secret 名
40-
commit_message: release # 部署时的 git 提交信息,根据自身需要填写即可
35+
# - name: Deploy
36+
# uses: peaceiris/actions-gh-pages@v3 # 使用部署到 GitHub pages 的 action
37+
# with:
38+
# publish_dir: ./docs/.vuepress/dist # 部署打包后的 dist 目录
39+
# github_token: ${{ secrets.NFTSCAN_DEPLOY }} # secret 名
40+
# commit_message: release # 部署时的 git 提交信息,根据自身需要填写即可
4141

4242
- name: Publish to NPM # 推送到 NPM 上
4343
run: |

0 commit comments

Comments
 (0)