Skip to content

Commit dddf800

Browse files
committed
fix: update deployment workflow to use 'gh-pages' branch instead of 'site'
1 parent 97015fc commit dddf800

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/site.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

@@ -74,7 +74,7 @@ jobs:
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

0 commit comments

Comments
 (0)