Skip to content

Commit 03a0472

Browse files
Sync code from main
2 parents 2376c2f + c30c796 commit 03a0472

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/sync-to-web.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ jobs:
3636
git push origin web
3737
echo "pushed=true" >> "$GITHUB_OUTPUT"
3838
else
39-
echo "web branch not yet created — skipping sync"
40-
echo "pushed=false" >> "$GITHUB_OUTPUT"
39+
echo "web branch not found — creating it from main"
40+
git checkout -b web origin/main
41+
git push origin web
42+
echo "Created web branch from main."
43+
echo "pushed=true" >> "$GITHUB_OUTPUT"
4144
fi
4245
id: sync
4346

0 commit comments

Comments
 (0)