Home
Support Forums

Possible to turn off auto-builds but still build from github?

I have a staging site that gets a ton of commits constantly, so it’s triggering a lot of unnecessary builds on netlify (which will eventually cost us money). We don’t need these constants builds and since it’s just a staging site, we ideally want to keep it on the free tier.

I’m having trouble locating a setting that would keep our site connected to github, but would require me to go into netlify dashboard and manually trigger a deploy… is this possible?

Seems like it’s either 1. connect to github and deploy every commit or 2. build it locally and upload it

If you want to turn off auto-builds when do you want the build to be triggered?

The only such feature I know of is to ‘Stop builds’ and then publish the builds via CLI or API. Read here: https://docs.netlify.com/configure-builds/stop-or-activate-builds/#stop-builds

Are there docs on updating a build with CLI or API?

I’d like to periodically do it manually.

We have so many commits to our staging branch that its triggering TONS of builds.

I guess I can just create another branch and work off that and only merge to staging periodically (thus triggering fewer builds) but it kind of sucks you have to tweak your development workflow to work around netlify.

I think, these are the ones you want: https://docs.netlify.com/cli/get-started/#manual-deploys

1 Like

You can do manual deploy as stated by @hrishikesh or you can configure a webhook https://docs.netlify.com/configure-builds/build-hooks/