Skip to content

Commit d3117bc

Browse files
committed
?
1 parent 2ca633d commit d3117bc

File tree

3 files changed

+43
-44
lines changed

3 files changed

+43
-44
lines changed

dist/index.js

Lines changed: 20 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/coolify.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -852,29 +852,29 @@ export default class Coolify {
852852

853853
if (deploymentUnderway) {
854854
console.log(
855-
`Deployment already underway for frontend app ${appUUID} with commit ${gitCommitSha}, waiting for completion`
855+
`Deployment already underway for frontend app ${appUUID} with commit ${gitCommitSha}, we will force a new deploy anyway for debugging...`
856856
)
857-
} else {
858-
//Update the commit SHA of the frontend app
859-
await updateApplicationByUuid({
860-
client: this.client,
861-
path: {
862-
uuid: appUUID
863-
},
864-
body: {
865-
git_commit_sha: gitCommitSha
866-
}
867-
})
868-
console.log(
869-
`Deploying frontend app ${appUUID} with commit ${gitCommitSha}`
870-
)
871-
await deployByTagOrUuid({
872-
client: this.client,
873-
query: {
874-
uuid: appUUID
875-
}
876-
})
877-
}
857+
} //else {
858+
//Update the commit SHA of the frontend app
859+
await updateApplicationByUuid({
860+
client: this.client,
861+
path: {
862+
uuid: appUUID
863+
},
864+
body: {
865+
git_commit_sha: gitCommitSha
866+
}
867+
})
868+
console.log(
869+
`Deploying frontend app ${appUUID} with commit ${gitCommitSha}`
870+
)
871+
await deployByTagOrUuid({
872+
client: this.client,
873+
query: {
874+
uuid: appUUID
875+
}
876+
})
877+
// }
878878

879879
await this.waitUntilAppIsReady({
880880
appUUID: appUUID,

0 commit comments

Comments
 (0)