Question

I wonder can I deploy my static website(HTML , images. css, and js files) without gitlab or github repository.

Posted November 16, 2021 71 views
DigitalOcean App Platform

I wonder can I deploy my static website(HTML , images. css, and js files) without gitlab or github repository.

My business logic is that droplet vm will run the job to generate static website, and dynamically deploy it to app platform.

I wonder does your CLI support that deploy static website from CLI? base on the documents from your website, I did not find it.
https://docs.digitalocean.com/reference/doctl/reference/apps/get-deployment/

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

Hello,

I don’t believe that this is possible without a GitHub/GitLab repository.

What I could suggest in your case is to update your automation script and include a git push step to push the generated HTML files to a GitHub repository. This on the other hand will trigger an automated deployment to the App Platform.

Regards,
Bobby