Skip to content

Commit

Permalink
Modify CI flow to fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
glmdgrielson committed Nov 25, 2024
1 parent c684b10 commit b0c1d6d
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 @@ -52,9 +52,9 @@ jobs:
path: dist
# Deploy Preview
- name: Deploy Preview
if: github.ref != 'refs/heads/master' && github.event.repository.fork == false
if: github.ref != 'refs/heads/master' && !github.event.pull_request.head.repo.fork
run: npm run deploy:preview -- --auth ${{secrets.NETLIFY_AUTH_TOKEN}} --alias $GITHUB_RUN_ID
# Deploy Production
- name: Deploy Production
if: github.ref == 'refs/heads/master' && github.event.repository.fork == false
if: github.ref == 'refs/heads/master' && !github.event.pull_request.head.repo.fork
run: npm run deploy:prod -- --auth ${{secrets.NETLIFY_AUTH_TOKEN}}

0 comments on commit b0c1d6d

Please sign in to comment.