Request to unlink Netlify site and GitHub repository

Hi, I’ve found on the forum that the only way to unlink a Netlify site and GitHub repo is via this forum. Can you please unlink https://app.netlify.com/sites/draftbit-builder-staging?

Hi draftbit,

depending on what you are trying to do, you may be able to accomplish this yourself.

Are you trying to connect your netlify account to a different repo? If yes, you can edit the settings in

Settings > Build & Deploy > Continuous Deployment

if you are trying to do something different, do you mind explaining? thanks.

Hi Perry,

We deploy to Netlify via the CLI in our CI pipeline, so we don’t want to have Netlify building needlessly every time a commit gets pushed in our GitHub repo. Per these posts, the only way to do this is via the forum:


OK, do you want to unlink entirely? For right now I’ve turned off automatic builds (via commits), which means you can still build via other webhook you configure (here: https://app.netlify.com/sites/draftbit-builder-staging/settings/deploys#build-hooks), or by pushing the button in our UI.

If you want it the rest of the way unlinked can help with that too, just let me know.

1 Like

@fool I think that should work - basically, we don’t want to be needlessly using up build minutes when we just deploy via the CLI in our CI pipeline. Will let you know if we run into any other issues - thank you!

Donald

@fool would you be able to do the same for draftbit-design - or if there’s a way for me to control this I can do it?

sure thing, tis done.

Hi, I hope you can’t help.
I would also like to unlink my site from Github and upload my files manually instead
Since I’m not using a builder (Gulp, Gatsby) I’m a bit confused on how to deploy my site via Github

site name: mystifying-spence-be02b0
redirects to kiandradesign.com

hi @kspmultimedia,

if you are not using a builder, you can manually add your files to a git repo, commit, push, and we will deploy it from there. If there is no “build step” our platform is smart enough to detect that and just pushes the html etc out to our cdn nodes as is.

The benefit of leaving the site linked to github is that you do not have to manually trigger a reploy. You can literally just do some work, save, add, commit, push, and we do the rest.

Do you still want to switch off continuous integration?

I will try your method and will get back to you if I need any help
Thank you!
Kiandra

1 Like

sounds good. You may be able to play around with this yourself:

So I didn’t have any luck. It’s been a while since I’ve had to use github so the issue is probably on my end
Please unlink github from my account. Thank you!

-Kiandra

ok, have done so for you.

Hi, I also would like to have my github repo completely removed from my site.
kylesloper.netlify.app
redirects to: kylesloper.ga

thanks

Hey, I’ve unlinked that for you!

1 Like

Hi, I also would like to have my github repo completely removed from my site.
politicaloverload.netlify.app

thanks

we unlinked that repo for you, @kylesloper!

I would also like to unlink my site from Github and upload my files manually instead.


andrew1136

Thanks

hi andrew, we’re happy to take care of this for you. Can you tell me the netlify site name (not custom domain) or the API ID please? thanks.

@perry I’ve also run into a similar issue with API ID: 3f6edde9-e616-4f34-b7d4-437e78b4553d.

When I click on the Link to a new repository link it opens up a new iframe but just has a screen that says Authorized, which in an ideal workflow would take me to Step 2 in your process.

I’d like to deploy a new repository I created over the weekend (a NuxtJS app) as opposed to my previous repo (a Vue SPA app) to the same URL that API ID is linked to.

Also, I’d like to re-enable auto-publishing once I’m able to link and unlink repos.

Thanks in advance, and man I’d love to say I absolutely love what you guys are doing for the community.

Netlify is such a great tool.