We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2376c2f + c30c796 commit 03a0472Copy full SHA for 03a0472
1 file changed
.github/workflows/sync-to-web.yml
@@ -36,8 +36,11 @@ jobs:
36
git push origin web
37
echo "pushed=true" >> "$GITHUB_OUTPUT"
38
else
39
- echo "web branch not yet created — skipping sync"
40
- echo "pushed=false" >> "$GITHUB_OUTPUT"
+ echo "web branch not found — creating it from main"
+ git checkout -b web origin/main
41
+ git push origin web
42
+ echo "Created web branch from main."
43
+ echo "pushed=true" >> "$GITHUB_OUTPUT"
44
fi
45
id: sync
46
0 commit comments