fix: push to stg branch on build remote instead of main

This commit is contained in:
2026-04-30 15:01:28 +08:00
parent 191e3624b8
commit 705992df45

View File

@@ -197,7 +197,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
// 3. Push to build remote (GitHub)
const currentBranch = GIT(["rev-parse", "--abbrev-ref", "HEAD"]);
GIT(["push", "build", `${currentBranch}:main`, "--force"]);
GIT(["push", "build", `${currentBranch}:stg`, "--force"]);
// 4. Trigger publish
GH([