Report this

What is the reason for this report?

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

Posted on November 16, 2021

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/



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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.