Skip to content

Commit e656353

Browse files
chore: build dist deploy-cloudrun (#9)
1 parent a979333 commit e656353

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107478,6 +107478,9 @@ const core = __importStar(__webpack_require__(470));
107478107478
const cloudRun_1 = __webpack_require__(115);
107479107479
const service_1 = __webpack_require__(304);
107480107480
const lodash_1 = __webpack_require__(998);
107481+
function sleep(ms) {
107482+
return new Promise((resolve) => setTimeout(resolve, ms));
107483+
}
107481107484
/**
107482107485
* Executes the main action. It includes the main business logic and is the
107483107486
* primary entry point. It is documented inline.
@@ -107501,6 +107504,7 @@ function run() {
107501107504
let serviceResponse = yield client.deploy(service);
107502107505
while (!lodash_1.get(serviceResponse, 'status.url')) {
107503107506
serviceResponse = yield client.getService(service.name);
107507+
yield sleep(2000);
107504107508
}
107505107509
// Set URL as output
107506107510
core.setOutput('url', lodash_1.get(serviceResponse, 'status.url'));

0 commit comments

Comments
 (0)