Question

We don't have access to your GitHub repositories

I keep linking my GitHub to DO App Platform but I cannot because I get this:

We don’t have access to your GitHub repositories

My Github repo main branch contains gradle-based Spring Boot application.

In the root of my repo I have also added these files:

Dockerfile
.do
└── app.yaml

My repo is hosting in GitHub organization and I am the owner of the organization.

organization_name/repo_name


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
March 12, 2023
Accepted Answer

Hey @3ea9aa437af24643b9038af455acfa,

As already mentioned, I’ve experienced the issue before and re-logging seems to resolve it, at least in my experience. Additionally, It could be that when you originally granted App Platform access to Github you only gave it limited permissions. To run through the Github auth process again you can visit https://cloud.digitalocean.com/apps/github/install

If you have multiple orgs associated with your Github account, be sure to choose the org that your private repo is in.

Then on the Repository Access screen, either choose “All Repositories” or specifically select the now-private repo you want to deploy.

Logging out and logging back in seemed to fix it for me.

Same problem for me too. It was working a month ago and I came back in to add another app and it does not work now.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more