Skip to content

Commit

Permalink
chore: Update GitHub Pages deployment step in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagoda11 committed Jun 19, 2024
1 parent 9fc532b commit efd3c50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
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
if: github.ref == 'refs/heads/main'
run: npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ github.actor }}

0 comments on commit efd3c50

Please sign in to comment.