Support Forums

Different build tool for maintenance branch

Hi, my site is brave-austin-90effb.netlify.app

I am trying to have a separate git branch for a simple maintenance page. I am following this guide: [Support Guide] What’s the easiest way to create a temporary “maintenance page” for my site?

My main site uses Vue with yarn and I have yarn set as the build tool in the deployment settings. However, the build of my maintenance branch fails because it is just a simple html page. Is there a way to specify a different (or no) build tool on a specific branch?

TIA, Dave

You need to use contexts in netlify.toml:

1 Like