Question

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

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/

Show comments

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.

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