Skip to content

Commit 7197555

Browse files
committed
chore: fix gh-pages
1 parent 00c2268 commit 7197555

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,21 @@ jobs:
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }}
4545

46-
- name: Release & deploy to GitHub Pages
46+
- name: Release
4747
run: |
4848
git config --global user.name $USER_NAME
4949
git config --global user.email $USER_EMAIL
5050
git remote set-url origin https://${GITHUB_TOKEN}@github.com/${REPOSITORY}
5151
yarn release
52-
node node_modules/gh-pages/bin/gh-pages-clean
53-
yarn deploy -m "${{ github.event.head_commit.message }}"
5452
env:
5553
USER_NAME: 'github-actions[bot]'
5654
USER_EMAIL: 'github-actions[bot]@users.noreply.github.com'
5755
GITHUB_TOKEN: ${{ github.token }}
5856
REPOSITORY: ${{ github.repository }}
57+
58+
- name: Deploy to GitHub Pages
59+
run: |
60+
node node_modules/gh-pages/bin/gh-pages-clean
61+
yarn deploy -m "${{ github.event.head_commit.message }}"
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)