Skip to content

Commit 70e10b0

Browse files
committed
fix for deploy 4
1 parent bfadd25 commit 70e10b0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ jobs:
151151
contents: write
152152
steps:
153153
- uses: actions/checkout@v4
154+
with:
155+
ref: main
156+
fetch-depth: 0
154157

155158
- name: Setup Node.js
156159
uses: actions/setup-node@v4
@@ -201,6 +204,4 @@ jobs:
201204
git config user.email "github-actions[bot]@users.noreply.github.com"
202205
git add -f docs/
203206
git diff --cached --quiet || git commit -m "chore: deploy ${{ github.ref_name }} to docs/ [skip ci]"
204-
# Rebase onto whatever the parallel build jobs may have pushed, then push.
205-
git pull --rebase --autostash "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" main
206207
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" HEAD:main

0 commit comments

Comments
 (0)