Skip to content

Commit 3f5c86d

Browse files
delrothfricklerhandwerk
authored andcommitted
ci: fix deploy-and-build production branch filter
1 parent 7415351 commit 3f5c86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
3333
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
3434
with:
35-
production-deploy: ${{ github.event_name == 'push' && github.event.push.ref == 'refs/heads/master' }}
35+
production-deploy: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
3636
publish-dir: './dist'
3737
github-token: ${{ secrets.GITHUB_TOKEN }}
3838
deploy-message: 'Deploy from GitHub Actions'

0 commit comments

Comments
 (0)