fix: deploy tool push ke remote build bukan origin
Sebelumnya push ke origin (Gitea) dengan branch build/stg, seharusnya ke remote build (GitHub) branch stg.
This commit is contained in:
@@ -150,7 +150,7 @@ server.tool(
|
|||||||
}
|
}
|
||||||
log.push('✅ Committed')
|
log.push('✅ Committed')
|
||||||
|
|
||||||
const push = await sh(['git', 'push', 'origin', 'HEAD:build/stg'])
|
const push = await sh(['git', 'push', 'build', 'HEAD:stg'])
|
||||||
if (!push.ok) {
|
if (!push.ok) {
|
||||||
return { content: [{ type: 'text', text: `❌ git push gagal:\n${push.err}` }] }
|
return { content: [{ type: 'text', text: `❌ git push gagal:\n${push.err}` }] }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user