Skip to content

Commit

Permalink
ci: fix deploy-and-build production branch filter
Browse files Browse the repository at this point in the history
  • Loading branch information
delroth authored and fricklerhandwerk committed Nov 3, 2023
1 parent 7415351 commit 3f5c86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
production-deploy: ${{ github.event_name == 'push' && github.event.push.ref == 'refs/heads/master' }}
production-deploy: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
publish-dir: './dist'
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
Expand Down

0 comments on commit 3f5c86d

Please sign in to comment.