Skip to content

Commit

Permalink
Push a commit using the built-in token
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi committed Jun 25, 2024
1 parent e816292 commit db53982
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ jobs:
if: github.ref == 'refs/heads/source'
run: |
cd build
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m 'Reflect changed sources'
git push -f origin master
env:
GIT_COMMITTER_NAME: willnet
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_NAME: willnet
GIT_AUTHOR_EMAIL: [email protected]
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/ginzarb/ginzarb.github.io.git master

0 comments on commit db53982

Please sign in to comment.