updatw
This commit is contained in:
@@ -3,7 +3,7 @@ import dotenv from "dotenv";
|
|||||||
dotenv.config();
|
dotenv.config();
|
||||||
const cnb = new CNB(process.env.CNB_TOKEN || "");
|
const cnb = new CNB(process.env.CNB_TOKEN || "");
|
||||||
|
|
||||||
const worksaceList = await cnb.workspace.list();
|
const worksaceList = await cnb.workspace.list({ status: 'running' });
|
||||||
|
|
||||||
console.log("worksaceList", worksaceList);
|
console.log("worksaceList", worksaceList);
|
||||||
|
|
||||||
@@ -19,8 +19,8 @@ console.log("worksaceList", worksaceList);
|
|||||||
// console.log("stop", stop);
|
// console.log("stop", stop);
|
||||||
|
|
||||||
// exebqzp8sc
|
// exebqzp8sc
|
||||||
// const start = await cnb.workspace.startWorkspace('kevisual/cnb', {
|
const start = await cnb.workspace.startWorkspace('kevisual/cnb', {
|
||||||
// branch: 'main',
|
branch: 'main',
|
||||||
// });
|
});
|
||||||
|
|
||||||
// console.log("start", start);
|
console.log("start", start);
|
||||||
Reference in New Issue
Block a user