mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
chore: 🔧 fix gh-pages actions (#20260)
https://github.com/peaceiris/actions-gh-pages#github-actions-for-github-pages
This commit is contained in:
parent
32cf75cca2
commit
9a4a668a05
6
.github/workflows/deploy-site.yml
vendored
6
.github/workflows/deploy-site.yml
vendored
@ -19,9 +19,11 @@ jobs:
|
|||||||
run: npm run predeploy
|
run: npm run predeploy
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
uses: peaceiris/actions-gh-pages@v2.5.0
|
uses: peaceiris/actions-gh-pages@v2
|
||||||
env:
|
env:
|
||||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACCESS_TOKEN }}
|
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
|
# PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PUBLISH_BRANCH: gh-pages
|
PUBLISH_BRANCH: gh-pages
|
||||||
PUBLISH_DIR: ./_site
|
PUBLISH_DIR: ./_site
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user