Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to disconnect Heroku app from GitHub Account

We're using Heroku Pipeline and GitHub integration:

  1. Staging app was manually deployed with git push heroku master.
  2. Production app was automatically deployed upon commit to Master on GitHub repo.

I want to change this workflow so that:

  1. Staging app is automatically deployed upon commit to Master on GitHub repo.
  2. Production app is the result of a Staging app being promoted.

Thus, I need to unlink the Production App from the GitHub Account/Repo. The instructions are here:

GitHub Integration | Heroku Dev Center

But, in my case, there's no "Disconnect" button:

This is the whole width of the screen

How can I disconnect it?

like image 319
Jonathan Soifer Avatar asked Mar 12 '23 09:03

Jonathan Soifer


2 Answers

Go to Manage Account: https://dashboard.heroku.com/account/applications

  • Click Applications tab

    • In Third-party Services: these are 2 options:

      • Re-authorize or Revoke access

        • click Revoke access

Remember to clear cookie or use incognito mode to re-login by another Github account

like image 58
HoangYell Avatar answered Mar 16 '23 22:03

HoangYell


You can also revoke access of heroku dashboard from your github account.

  1. Login Github
  2. Go To Settings
  3. Applications
  4. revoke the connected heroku dashborad that will automatically disconnect your heroku from your github account.
like image 24
Hammad Siraj Avatar answered Mar 16 '23 22:03

Hammad Siraj