18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
import { Build } from "../src/index.ts";
|
|
|
|
import { token, showMore, cookie } from "./common.ts";
|
|
|
|
const repo = new Build({ group: "kevisual", token: token, cookie: cookie });
|
|
|
|
const main = async () => {
|
|
const build = await repo.startBuild('cnb', {
|
|
branch: 'main',
|
|
env: {
|
|
},
|
|
event: 'api_trigger_test',
|
|
config: ``,
|
|
});
|
|
console.log("build", build);
|
|
}
|
|
|
|
main() |