Skip to content

Commit

Permalink
check ref name for production deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Jun 19, 2024
1 parent 4a2a217 commit 4d69bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: nwtgck/[email protected]
with:
publish-dir: "./dist/app/browser"
production-deploy: true
production-deploy: ${{ github.ref_name == 'master' }}
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
Expand Down

0 comments on commit 4d69bc7

Please sign in to comment.