File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11name : Build
22
33# Controls when the action will run. Triggers the workflow on push or pull request
4- # events but only for the master branch
4+ # events but only for the main branch
55on :
66 pull_request :
7- branches : [ master ]
7+ branches : [ main ]
88 push :
9- branches : [ master ]
9+ branches : [ main ]
1010
1111jobs :
1212 build_docs :
@@ -22,21 +22,21 @@ jobs:
2222
2323 - name : Get Github Token
2424 id : get-gh-token
25- if : ${{ github.ref == 'refs/heads/master ' }}
25+ if : ${{ github.ref == 'refs/heads/main ' }}
26262727 with :
2828 app_private_key : ${{ secrets.APP_PRIVATE_KEY }}
2929 application_id : ${{ secrets.APP_ID }}
3030
3131 - name : Create Zally Issues
32- if : ${{ github.ref == 'refs/heads/master ' }}
32+ if : ${{ github.ref == 'refs/heads/main ' }}
3333 env :
3434 GH_TOKEN : ${{ steps.get-gh-token.outputs.gh_access_token }}
3535 run : |
3636 scripts/create-zally-issue.sh
3737
3838 - name : Deploy to GitHub Pages
39- if : ${{ github.ref == 'refs/heads/master ' }}
39+ if : ${{ github.ref == 'refs/heads/main ' }}
4040 uses : peaceiris/actions-gh-pages@v3
4141 with :
4242 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments