amalia/22-mei-26 #25

Merged
amaliadwiy merged 13 commits from amalia/22-mei-26 into main 2026-05-22 17:40:31 +08:00
14 changed files with 866 additions and 397 deletions
Showing only changes of commit 5515401614 - Show all commits

View File

@@ -21,7 +21,7 @@ async function triggerWorkflow(workflow: string, inputs: Record<string, string>)
const res = await fetch(`${BASE_URL}/actions/workflows/${workflow}/dispatches`, {
method: 'POST',
headers: ghHeaders,
body: JSON.stringify({ ref: 'main', inputs }),
body: JSON.stringify({ ref: 'stg', inputs }),
})
if (!res.ok) throw new Error(`GitHub API error ${res.status}: ${await res.text()}`)
}