Skip to content

Commit

Permalink
chore: Configure Git for GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagoda11 committed Jun 19, 2024
1 parent 3426a51 commit 9fc532b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
run: npm run build
- name: 🧪 Test with coverage
run: npm run test
- name: 🛠️ Configure Git
run: |
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
git config --global user.name "${{ secrets.GIT_USER_NAME }}"
- name: 🚀 Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' # Deploy only on push to main branch
run: npm run deploy
Expand Down

0 comments on commit 9fc532b

Please sign in to comment.