fix(ci): target LangBot's master branch in the migrated docs workflows

LangBot's default branch is master, so the landing-submodule, wiki and blog
sync workflows would never have triggered and would have pushed to a
non-existent main. Also restore the wiki clone URL that was truncated in the
mirror copy of sync-github-wiki.yml.

Co-Authored-By: Mika (Multica) <[email protected]>
Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
RockChinQ
2026-10-27 08:17:36 +00:00
co-authored by Mika multica-agent
parent 3e0be870ab
commit c3249a8852
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ name: Sync GitHub Wiki
on:
push:
branches: [main]
branches: [master]
paths:
- "docs/en/**"
- "docs/zh/**"
@@ -57,7 +57,7 @@ jobs:
sync:
name: Publish to LangBot Wiki
if: github.event_name != 'pull_request' && github.repository == 'langbot-app/LangBot' && github.ref == 'refs/heads/main' && vars.DOCS_MIRROR_ENABLED == 'true'
if: github.event_name != 'pull_request' && github.repository == 'langbot-app/LangBot' && github.ref == 'refs/heads/master' && vars.DOCS_MIRROR_ENABLED == 'true'
needs: build
runs-on: ubuntu-latest
timeout-minutes: 5