Skip to content

Commit

Permalink
refactor: Configure Git for GitHub Pages deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jyzhao committed Aug 13, 2024
1 parent e0a038c commit db64385
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-to-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
- name: Build the React app
run: npm run build

- name: Configure Git
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
- name: Deploy to GitHub Pages
run: npm run deploy
env:
Expand Down

0 comments on commit db64385

Please sign in to comment.