Dont auto push to gh-pages except for main.
@@ -19,7 +19,7 @@ jobs:
output-file-path: output.txt
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
github-token: ${{ secrets.GITHUB_TOKEN }}
- auto-push: true
+ auto-push: ${{ github.ref == 'refs/branch/main' }}
alert-comment-cc-users: '@osohq/eng'
comment-always: true
save-data-file: ${{ github.ref == 'refs/branch/main' }}
