fix: push to stg branch on build remote instead of main
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user