Skip to content

Commit

Permalink
Try to fix trigger for deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
rjosephwright committed May 16, 2023
1 parent e78e7f1 commit f16a9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

# Deployment job
deploy:
if: ${{ github.event.pull_request.merged }}
if: ${{ github.event.push.ref == "refs/heads/master" }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit f16a9f3

Please sign in to comment.