Skip to content

Commit

Permalink
ci: set git user
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoporto committed Apr 2, 2024
1 parent 9c53d06 commit 3fc335b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ jobs:
uses: actions/deploy-pages@v2

- name: Setup git
env:
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_NAME: ${{ secrets.GIT_NAME }}
run: |
git config --global user.name "GitHub Actions Bot"
git config user.email "<>"
git config --global user.name "${{ env.GIT_NAME }}"
git config user.email "<${{ env.GIT_EMAIL }}>"
- name: Push README.md
run: |
git add README.md
Expand Down

0 comments on commit 3fc335b

Please sign in to comment.