This commit is contained in:
alyssa 2024-09-06 16:46:23 +09:00
parent 79086f4a8e
commit ce3ad12a66
2 changed files with 7 additions and 6 deletions

View file

@ -25,10 +25,11 @@ def spawn_job(name):
'content-type':'application/json'
},
data=bytes(json.dumps({
'ref': must_get_env("GIT_SHA"),
'ref': 'refs/heads/new-ci',
'inputs': {
'dispatchData': json.dumps({
'action': name,
'sha': must_get_env("GIT_SHA"),
})
}
}), 'UTF-8')