Skip to content

Commit 04aa12e

Browse files
authored
fix: use --track origin/preview to avoid ambiguous checkout (#152)
1 parent ccbc9fd commit 04aa12e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sync-from-public.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
124124
- name: Sync preview with public/preview
125125
run: |
126-
git checkout preview
126+
git checkout --track origin/preview
127127
git reset --hard origin/preview
128128
129129
# Check if public/preview is already merged

0 commit comments

Comments
 (0)