Skip to content

Commit

Permalink
feat: Add GitHub Pages deployment step to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagoda11 committed Jun 19, 2024
1 parent fabcfd8 commit 72b5214
Show file tree
Hide file tree
Showing 3 changed files with 305 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ jobs:
run: npm run build
- name: 🧪 Test with coverage
run: npm run test
- name: 🚀 Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' # Deploy only on push to main branch
run: npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
298 changes: 298 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 72b5214

Please sign in to comment.