mirror of
https://github.com/enso-org/enso.git
synced 2024-11-27 18:12:31 +03:00
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
const github = require("./github");
|
|
|
|
const repo = process.argv[2];
|
|
const workflow_id = process.argv[3];
|
|
const ref = process.argv[4];
|
|
|
|
async function main() {
|
|
console.log(
|
|
"Triggering workflow " + workflow_id + " in " + repo + " on " + ref
|
|
);
|
|
await github.triggerWorkflow(repo, workflow_id, ref);
|
|
console.log("Done.");
|
|
}
|
|
|
|
main().catch((err) => {
|
|
console.error(err);
|
|
process.exit(1);
|
|
});
|