do not wait for deploy to go live
flashthepublic opened this issue · comments
I only have a free account on github and a lot of my build minutes are 'wasted' on the
- Waiting for deploy to go live...
Could you add a parameter to avoid waiting for deploy to go live?
I see that there is a timeout
flag on the Netlify CLI
https://cli.netlify.com/commands/deploy
I'm not sure if the timeout is only for the "wait" part or the whole build + deploy part.
Would you be willing to test this locally on your setup and make a PR if it matches the waiting part ?
Hey @flashthepublic, have you been able to take a look at my recommendation?
Sorry missed it. I will try!
No it cancelled the deploy in the middle of the diffing unfortunately:
Deploying to main site URL...
✔ Finished hashing 8715 files
⠇ CDN diffing files... » Warning:
» {
» "name": "TimeoutError"
» }
»
⠏ CDN diffing files... TimeoutError: Promise timed out after 5000 milliseconds
Hum, sorry to hear that @flashthepublic . I'm not sure I see an elegant solution right now. Do you have anything in mind ?
Otherwise I think I'm going to close this issue for the time being. I'm really bothered though, because as you say it's "money time" being wasted
I understand i should rather ask the feature to netlify. I thought this project was more closely related.
Thank you very much for your help. I will indeed close this issue