Skip to content

Commit 4256ee5

Browse files
committed
ci: 🎡 修改workflow配置
1 parent aef0a9a commit 4256ee5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ jobs:
7474

7575
# 部署到gh-pages分支
7676
- name: deploy
77-
uses: JamesIves/github-pages-deploy-action@releases/v3
77+
uses: peaceiris/actions-gh-pages@v3
7878
with:
79-
ACCESS_TOKEN: ${{ secrets.GH_DOCS }}
80-
BRANCH: gh-pages # The branch the action should deploy to.
81-
FOLDER: dist # The folder the action should deploy.
82-
CLEAN: true
79+
github_token: ${{ secrets.GH_TOKEN }}
80+
publish_dir: ./public

0 commit comments

Comments
 (0)