Skip to content

Commit 43bd322

Browse files
committed
try this
1 parent 54c6ac7 commit 43bd322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs-preview-create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- run: pnpm install --frozen-lockfile
2323

2424
- name: Checkout
25-
run: git switch -c ${{ env.BRANCH }} || git switch ${{ env.BRANCH }}
25+
run: git fetch origin ${{ env.BRANCH }} && git checkout ${{ env.BRANCH }} || git checkout -b ${{ env.BRANCH }}
2626

2727
- name: Sync
2828
run: cd apps/svelte.dev && pnpm sync-docs --owner="${{ github.event.client_payload.owner }}" -p "${{ github.event.client_payload.package }}#${{ github.event.client_payload.branch }}"

0 commit comments

Comments
 (0)