Skip to content

Commit

Permalink
Deploy to GitHub Pages on the correct branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinn committed Apr 20, 2024
1 parent 665ce99 commit d3394e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- run: npm ci
- run: npm test
- run: npm run build
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/master'
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/master'

0 comments on commit d3394e6

Please sign in to comment.