Question

What requirements should have a repo folder to successfully match the "launch app" static website recognition?

Posted February 25, 2021 292 views
HTMLDigitalOcean App Platform

Good morning.
I would like to deploy a static website.

My GitLab repo root folder contains an index.html file and even a /img and a /dist subfolder. In particular this last one is the folder that I’d like to use for deploy. You can see root directory structure at this link.

Unfortunately I obtain the “Sorry, we couldn’t find an app in your repo” error in the step 2 of the Launch Your App wizard.

Does anywone know what is missing for a correct static website recognition in the procedure. Is there a list of requirements I can check?

Thank you for the support.

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

Hi there,

The structure looks correct. What I would recommend is that you check out this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-static-website-to-the-cloud-with-digitalocean-app-platform

Hope that this helps!

by Erin Glass
This tutorial walks you through all the steps of deploying a static website to the cloud with DigitalOcean App Platform, including how to get started with GitHub. If you don't have a static site, you can use our sample site to learn how App Platform works.