Hi.
TL;DR: I’m trying to create an App platform static site from a client Github repositories in which I’m a collaborator but the repositories are missing in the combobox on the app platform creation.
My client gave me access temporarily to their DO account to setup some static sites. The repositories with the code are in Github and my own account has visibility of them because I’m a collaborator so I can read/write in them. When I go to the App platform creation the only repositories I see are my own, my client repositories are missing. I have given full access to the DO installation in Github so I don’t know what is the problem.
Thanks in advance.
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hey there! 👋
What you could try is to make sure that the GitHub App integration on your DigitalOcean account has the correct permissions to access repositories from the organization or the client’s GitHub account.
If the above permissions are correctly set, but the repositories still don’t show up in the dropdown list on DigitalOcean:
UPDATE: Quick update to this thread, as discussed under another thread, the issue was resolved as follows:
Hope that helps!
- Bobby.
In order to create an App Platform static site from a private GitHub repository that you do not own, first you must have access the Repository. Make sure that the repository owner has provided you “read” acces at minimum. Then you can Connect your GitHub account to the platform e.g DigitalOcean App Platform and link up private repository with deployed app in App Platform. When connected, App Platform will ask you which repo to deploy. Because it is a private repo, GitHub may ask you to grant certain permissions in order for setups like this. In the next step on selecting the repository configure static site build settings (branch, build command if any) and deploy This triggers the automatic build, deploy and serving of the static site in App Platform based on what is in your repository. Make sure any necessary environment variables or build configurations are set correctly for smooth deployment.