File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -45,24 +45,16 @@ jobs:
4545
4646 - name : Release
4747 run : |
48- git config --global user.name $USER_NAME
49- git config --global user.email $USER_EMAIL
5048 git remote set-url origin https://${GITHUB_TOKEN}@github.com/${REPOSITORY}
5149 yarn release
52- env :
53- USER_NAME : ' github-actions[bot]'
54- USER_EMAIL : ' github-actions[bot]@users.noreply.github.com'
55- REPOSITORY : ${{ github.repository }}
56- GITHUB_TOKEN : ${{ github.token }} # GITHUB_TOKEN is required
5750
5851 - name : Deploy
5952 run : |
60- git config --global user.name $USER_NAME
61- git config --global user.email $USER_EMAIL
6253 git remote set-url origin https://${DEPLOY_ACCESS_TOKEN}@github.com/${REPOSITORY}
6354 yarn deploy -m "${{ github.event.head_commit.message }}"
64- env :
65- USER_NAME : ' github-actions[bot]'
66- USER_EMAIL : ' github-actions[bot]@users.noreply.github.com'
67- DEPLOY_ACCESS_TOKEN : ${{ secrets.DEPLOY_ACCESS_TOKEN }}
68- REPOSITORY : ${{ github.repository }}
55+ env :
56+ USER_NAME : ' github-actions[bot]'
57+ USER_EMAIL : ' github-actions[bot]@users.noreply.github.com'
58+ GITHUB_TOKEN : ${{ github.token }} # GITHUB_TOKEN is required
59+ DEPLOY_ACCESS_TOKEN : ${{ secrets.DEPLOY_ACCESS_TOKEN }}
60+ REPOSITORY : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments