How to manually stop building by removing your deploy key and webhook from GitHub

You can stop building your project on CircleCI at any time by navigating to the project settings page and clicking the "Stop Building" button.

Screen_Shot_2019-04-15_at_11.11.54_AM.png

In the event you are for some reason unable to stop building, you can always manually stop building by removing access to the repository from GitHub.

Some reasons you may potentially need to do this:

  • You have renamed your Organization, Username, or Repo
  • User credentials have become stale 

 

1. Start by accessing your GitHub repository settings. You can visit this directly by navigating to https://github.com/Org/Repo or clicking the "settings" button on the repo page.Screen_Shot_2019-04-15_at_10.53.38_AM.png

 

2. From the settings page, on the left side in the vertical navigation, we see the two pages we are interested in, "Webhooks" and "Deploy keys".

Screen_Shot_2019-04-15_at_10.54.06_AM.png

 

3. From the Webhooks page, locate any Webhooks that post to CircleCI and delete them. Screen_Shot_2019-04-15_at_10.54.26_AM.png

 

4. Lastly, navigate to the "Deploy keys" page and delete the key added by CircleCI

Screen_Shot_2019-04-15_at_10.54.54_AM.png

 

This will stop the project from building on CircleCI in the event you need to manually remove access.

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.