Skip to content

Commit

Permalink
ci: only update website on push to master (not on PR), closes #1358
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Dec 18, 2020
1 parent bd95783 commit 5fe4bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: update website
if: ${{ matrix.node-version == '14.x' }}
if: ${{ github.event_name == 'push' && matrix.node-version == '14.x' }}
run: ./scripts/publish-gh-pages
env:
GH_TOKEN_PUBLIC: ${{ secrets.GH_TOKEN_PUBLIC }}
Expand Down

0 comments on commit 5fe4bc0

Please sign in to comment.