Skip to content

Commit

Permalink
Both specify email and username
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrious committed Feb 16, 2020
1 parent 0207e27 commit 84b74aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: php build.php
- name: Deploy to github pages
run: |
git config user.email "${{ secrets.BOT_USER }}"
git config user.email "${{ secrets.BOT_EMAIL }}"
git config user.name "Github Action"
git add -A
git stash
Expand All @@ -28,7 +28,7 @@ jobs:
if [[ -n $(git status -s) ]]
then
git commit -m "Update packages"
git push https://pivvenci:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
git push https://${{ secrets.BOT_USER }}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
else
echo "No changes in the repository"
fi

0 comments on commit 84b74aa

Please sign in to comment.