Support Forums

[Support Guide] How can I optimize my Netlify build time?

Yes, but what you had me do is totally unlink Netlify from your git provider, so you’ll have to relink the repo now to do that :upside_down_face: . Please review the very long post that started this topic as to all the different ways you can control your builds - it will take a combination of setting appropriate build branches in the deploy settings, as well as using features like our ignore builds script (specific example here: [Common Issue] How can I optimize my Netlify build time?), or maybe using [skip ci] or [skip netlify] (documented here: https://docs.netlify.com/site-deploys/manage-deploys/#skip-a-deploy).

1 Like

Thank you, I went with [skip ci].

So unlinking my site would still let me deploy from Github Actions with the Netlify Action, right? If so, could you please unlink my site from Git? 02a48ebd-ec75-4afe-943a-12c88389aa12


Not sure what that action is, Cesal. But I think it is cheap to try, so I’ve unlinked your site. You can relink through the UI in case that doesn’t work out for you, and instead implement other suggestions from the first post in this thread :slight_smile:

Thanks! Yes, now it works! I was able to build and publish the site when I push a tag to the repository using this Github Action: https://github.com/cesalberca/blog/blob/master/.github/workflows/deploy.yml.

Because I have only one branch I didn’t want to publish everytime I pushed, but only when I create a tag with this script: https://github.com/cesalberca/blog/blob/master/scripts/deploy.sh. Hope it can help someone else too.

1 Like

There is now Stop Builds functionality, so you can turn it on and off at will :slight_smile:

If that doesn’t suit your needs, could you let us know more details about why it doesn’t? We can still turn off here but hoping we won’t need to anymore since that feature is released.

1 Like

It’s close to what I was looking for!
Thank you so much!
I’m going to use that feature :smiley:

Hey @fool thanks for the suggestion! While I hit the same issue as @nicolasrouanne, using a script works.

Hi @fool could you help switch off the continuous integration for the following side ID’s:

  • 3ba5ba56-c89d-4823-a8c6-45c41e49a6c7
  • 5df486d8-2654-43fa-acdd-3309f7f28fff
  • 241abe71-cbe7-45dd-b8fe-10a7875bb484
  • 1934f642-43dd-4363-b9d8-6db41107af9c
  • bd5e70d5-8d4a-4343-bb9c-df5691b23214
  • e8087b08-d119-4168-9250-7cb801f6dcbf
  • b2c4bab4-4583-4577-8056-69c2d64f3844

Sorry for the long list!

no problem, much nicer to get them all in a batch than 1:1 so I’ll call it a win :slight_smile: All disconnected now.

1 Like

Hello again!

Could you unlink this site:



Nevermind, with the new option to deactivate builds I can do exactly what I need. https://docs.netlify.com/configure-builds/stop-or-activate-builds/

1 Like

Hi @fool sorry to bother you again.

Are you also able to switch off the continuous integration for these two sites?

  • 9817c7b9-1d9f-4f33-8aba-f998885bd9d9
  • 17e78315-c641-45aa-aacc-1c4f9f819b9d

Thanking you!

Sure. I’ve turned off automatic builds on those sites, @angslice . You can still build by pressing “trigger deploy” from the site’s deploy listing page (or by using incoming buildhook: https://docs.netlify.com/configure-builds/build-hooks/)

Hi @fool, it appears they are still deploying from Github and not unlinked. (Sorry if I was unclear)

Yes, I only turned off automatic builds as requested; you asked me to “switch off continuous integration”, not “unlink the repo”. You can still build with webhooks and if you press “Trigger deploy”, but I can see no builds have happened since I set the setting, so not sure what you mean by “they are still deploying” since there have been no deploys since we last spoke?

If you want the repos unlinked entirely, happy to do that instead, just let me know.

1 Like

Hi @fool,

Sorry totally my mistake.
Yes, if you could unlink them that would be awesome! :smiley:


Good morning @fool,

Did you have any luck with unlinking these sites?

  • 9817c7b9-1d9f-4f33-8aba-f998885bd9d9
  • 17e78315-c641-45aa-aacc-1c4f9f819b9d

Sorry my developers are chasing after me on this.

Thanking you :smiley:

these are unlinked now, @angslice!

1 Like

I have the same issue as @nicolasrouanne, the command works locally (macOS) but not when run on Netlify in the build step.