Skip to content

Commit

Permalink
chore: more debugging...
Browse files Browse the repository at this point in the history
  • Loading branch information
FabiLo22 committed Oct 31, 2024
1 parent 8947106 commit 67fa247
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 5 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "typescript-action",
"description": "Givve Automatic Deployment",
"version": "v0.0.17",
"version": "v0.0.18",
"author": "PL Gutscheinsysteme GmbH",
"private": true,
"homepage": "https://github.com/actions/typescript-action",
Expand Down
6 changes: 4 additions & 2 deletions src/wait.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ async function check(resolve: any, reject: any) {
// Some other deployment is running, so we wait
core.setFailed('Manual deployment lock active!')
reject('Locked')
} else {
setTimeout(() => {
check(resolve, reject)
}, 20000)
}
}

setTimeout(check, 20000)
}

0 comments on commit 67fa247

Please sign in to comment.