File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ jobs:
6060 java-version : ' 17'
6161 distribution : ' temurin'
6262
63- - name : Checkout site branch
63+ - name : Checkout gh-pages branch
6464 uses : actions/checkout@v6
6565 with :
66- ref : site
66+ ref : gh-pages
6767 path : site
6868 continue-on-error : true
6969
7474 mkdir -p site
7575 cd site
7676 git init
77- git checkout -b site
77+ git checkout -b gh-pages
7878 git remote add origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
7979 fi
8080
@@ -239,7 +239,7 @@ jobs:
239239 git diff --staged --quiet || git commit -m "$COMMIT_MSG"
240240
241241 # Push, creating the branch if it doesn't exist
242- git push -u origin site --force
242+ git push -u origin gh-pages --force
243243 env :
244244 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
245245
You can’t perform that action at this time.
0 commit comments