Automatically Retry Pages Deployment
Hi,
Just had a deployment fail within Cloudflare - from the logs, there was some I/O error when trying to log into the backend for our repository. I assume just a networking glitch.
Is it possible to have Pages deployments automatically retry if they fail? Maybe two or three times, before we assume that there's something wrong in the commit and I'll have to intervene manually?
Thanks
1 Reply
Bumping, been hitting a lot of cloudflare internal errors recently. I'd say about a third of deployments fail for no apparent reason, if I restart by hand then it runs to completion just fine. I presume I can set up some API hooks or something, but it'd be much nicer to be able to set a retry loop in the settings for my site. Is something like that possible, or will I have to do it by hand? It is a little annoying TBH; as a small team we're using cloudflare pages so that the site in effect can't go down, but redeployments certainly don't seem to be at nearly the same uptime as the sites themselves. Which is not really a problem in and of itself but when I get pinged every few week that a CMS change hasn't been reflected and need to log in and check what has happened it's a bit disruptive. If the system can retry in the background and everything is sorted by the time the first person wakes up the next morning then that would definitely be helpful. Thanks