Skip to content

Commit

Permalink
Deploy only changes to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Ross committed Mar 4, 2022
1 parent 1210e79 commit af3673d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ !env.ACT }}
if: ${{ !env.ACT && github.ref == 'refs/heads/master'}}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
Expand Down

0 comments on commit af3673d

Please sign in to comment.