This commit is contained in:
alyssa 2024-09-06 13:00:50 +09:00
parent f086dec528
commit a887b0beb4

View file

@ -63,7 +63,8 @@ if __name__ == "__main__":
subprocess.run(["docker", "run", "--rm", "-it", "hello-world"], check=True) subprocess.run(["docker", "run", "--rm", "-it", "hello-world"], check=True)
return return
return create_jobs() if dispatch_data == "" if dispatch_data == "":
return create_jobs()
data = json.loads(dispatch_data) data = json.loads(dispatch_data)
match data.get("action"): match data.get("action"):