Skip to content

Commit

Permalink
Merge pull request #27 from Mab879/only_deploy_master
Browse files Browse the repository at this point in the history
Only deploy on master
  • Loading branch information
Mab879 authored Sep 8, 2023
2 parents d3507a9 + d11d4a5 commit adfe3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
projectName: 'stigaview-static'
directory: 'out'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'push' && github.repository == 'Mab879/stigaview-static' }}
if: ${{ github.repository == 'Mab879/stigaview-static' && github.ref == 'refs/heads/master'}}

0 comments on commit adfe3cf

Please sign in to comment.