Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 14, 2022
1 parent 1907abf commit e2e6cc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Expand Up @@ -50,6 +50,8 @@ jobs:
- name: Deploy to uiwjs.github.io Repo
uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
personal_token: ${{ secrets.PERSONAL_TOKEN_UIW }}
publish_dir: ./website/build
Expand All @@ -59,6 +61,8 @@ jobs:
- name: Deploy gh-pages Branch
uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/npm.yml
Expand Up @@ -75,6 +75,8 @@ jobs:
- name: Deploy to uiwjs.github.io
uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
personal_token: ${{ secrets.PERSONAL_TOKEN_UIW }}
publish_dir: ./website/build
Expand All @@ -84,6 +86,8 @@ jobs:
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
Expand Down

0 comments on commit e2e6cc8

Please sign in to comment.