How to properly link GitHub repositories in App Platform

Posted October 6, 2020 1.1k views
GitDigitalOcean App Platform

We are trying to deploy an app, but the github account link doesn’t work properly (at least not in a team/multi user environment).

The first user is able to link/install DigitalOcean into the organization (with all repository access), and is able to see the repositories when creating new components.

When a second user (from the same team and github organization tries to create a component, DO doesn’t seem to understand that the app already contains a link) - it asks to link the github account again, and since it`s already installed it gets redirected to the github settings page instead of showing the repository list.

It seems that the link is getting stored in a per-user basis?

Is it a bug or am I doing something wrong?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I was being stupid. Turns out you need to have DigitalOcean installed in BOTH the organization and your own user. Trying to solve some permission stuff before I removed DigitalOcean from my GitHub user.

  • Note: github link experience isn’t optimal atm, if you have multiple teams in DO and you need to link both of them to the same GitHub organization/account, it doesn’t seem to work properly.