We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8162a commit d55f966Copy full SHA for d55f966
1 file changed
.github/workflows/build-and-deploy.yml
@@ -71,8 +71,8 @@ jobs:
71
deploy:
72
runs-on: ubuntu-latest
73
needs: build
74
- # Do not run this unless *pushing* (`heads`) to `master`
75
- if: github.ref == 'refs/heads/master'
+ # Do not run this unless *pushing* to `master`
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
76
steps:
77
- name: Checkout pandocs/gh-pages
78
uses: actions/checkout@v2
0 commit comments