Skip to content

Commit 0a01bcc

Browse files
committed
github action only runs gh-pages if push to master
1 parent 4093bb9 commit 0a01bcc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
TEST8BIT_GITHUB_TOKEN: ${{ secrets.TEST8BIT_GITHUB_TOKEN }}
3333
- run: make distro
3434
- name: Deploy
35+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
3536
uses: JamesIves/github-pages-deploy-action@v4.2.5
3637
with:
3738
branch: gh-pages

0 commit comments

Comments
 (0)