Skip to content

Commit bff82bf

Browse files
authored
Update app.ts
1 parent 293a95f commit bff82bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎app.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!renderAPIToken) {
2121
console.error("Error: RENDER_API_KEY is not set.");
2222
process.exit(1);
2323
}
24-
const renderExternalHostname = process.env.RENDER_EXTERNAL_HOSTNAME || '';
24+
2525
const githubAPIToken = process.env.GITHUB_API_TOKEN || '';
2626
const githubOwnerName = process.env.GITHUB_OWNER_NAME || '';
2727
const githubRepoName = process.env.GITHUB_REPO_NAME || '';
@@ -103,7 +103,7 @@ async function handleWebhook(payload: WebhookPayload) {
103103
console.log(`ignoring deploy success for another service: ${service.name}`)
104104
return
105105
}
106-
const hostname = service.serviceDetails.url.replace("https://","");
106+
const hostname = (service as any).serviceDetails.url.replace("https://","");
107107

108108
console.log(`triggering github workflow for ${githubOwnerName}/${githubRepoName} for ${service.name}`)
109109
console.log('hostname:', hostname)

0 commit comments

Comments
 (0)