🌱 Netlify Builds suddenly stop working
2021-11-26
I had a project that has been running fine for years on Netlify. Recent I updated a markdown file (shouldn’t break the build).
It did however break the deployment on Netlify. The project built locally just fine.
You can deploy a local build using the Netlify CLI tool. But I need this to work on Netlify so I can continue allowing my client to update things using Netlify CMS.
The following fixed things for me:
- Choose the site
- Go to
Site settings
- Choose Build & deploy
- Scroll dow to
Build image selection
- Choose
Edit Settings
- Then select
Ubuntu Xenial 16.04 Legacy build image for older sites
- Navigate back to
Deploys
- Choose
Trigger deploy
- Then
Clear cached and deploy site
It appears that the change in the default build image was breaking my deploy.
I’m sure there is a better way of resolving this. But for my situation this is a legacy client and I don’t want to spend any extra time upgrading the project.