|
|
@ -48,10 +48,10 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
git config --global user.name $user_name
|
|
|
|
git config --global user.name $user_name
|
|
|
|
git config --global user.email $user_email
|
|
|
|
git config --global user.email $user_email
|
|
|
|
git remote set-url origin https://${github_token}@github.com/${repository}
|
|
|
|
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
|
|
|
CI='' npm run deploy
|
|
|
|
CI='' npm run deploy
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
user_name: 'github-actions[bot]'
|
|
|
|
user_name: 'github-actions[bot]'
|
|
|
|
user_email: 'github-actions[bot]@users.noreply.github.com'
|
|
|
|
user_email: 'github-actions[bot]@users.noreply.github.com'
|
|
|
|
github_token: ${{ secrets.DEPLOY_KEY }}
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|