File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: CI
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 branches :
9- - master
9+ - main
1010 schedule :
11- - cron : " 0 0 * * *"
11+ - cron : " 43 2 * * *"
1212
1313jobs :
1414 build :
@@ -45,12 +45,12 @@ jobs:
4545
4646 - name : Deploy to Github Pages
4747 uses : peaceiris/actions-gh-pages@v3
48- if : success() && github.ref == 'refs/heads/master '
48+ if : success() && github.ref == 'refs/heads/main '
4949 with :
5050 github_token : ${{ secrets.GITHUB_TOKEN }}
5151 publish_branch : gh-pages
5252 publish_dir : ./output
5353
5454 - name : Trigger page build
55- if : success() && github.ref == 'refs/heads/master '
55+ if : success() && github.ref == 'refs/heads/main '
5656 run : " curl 'https://api.github.com/repos/FriendsOfREDAXO/phpdoc/pages/builds' -X POST -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' -H 'Accept: application/vnd.github.mister-fantastic-preview'"
You can’t perform that action at this time.
0 commit comments