Skip to content

Commit

Permalink
fix: remove polling dns and http
Browse files Browse the repository at this point in the history
Resolves #10
  • Loading branch information
atinux committed Apr 26, 2024
1 parent c86a7d5 commit b97aa0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/deploy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ export default defineCommand({
})
spinner.succeed(`Deployed ${colors.blue(linkedProject.slug)} to ${deployEnvColored}...`)
// Check DNS & ready url for first deployment
consola.success(`Deployment is ready at ${colors.cyan(deployment.primaryUrl || deployment.url)}`)
if (deployment.isFirstDeploy) {
await pollDns(deployment.url)
consola.info('As this is the first deployment, please note that domain propagation may take a few minutes.')
}
await pollHttp(deployment.primaryUrl || deployment.url)
process.exit(0)
},
})

0 comments on commit b97aa0e

Please sign in to comment.