Question

Build static sites outside DOAP pipeline and host them inside DOAP

Hello,

I would like to know if we can build a Angular app outside DOAP but let DOAP manage and host it. Do you have clues on how to manage that ? Can we build the app, push it on, let’s say, Digital Ocean Spaces and let DOAP manage the app ?

Thanks,


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.

Kamal Nasser
DigitalOcean Employee
DigitalOcean Employee badge
April 15, 2021
Accepted Answer

👋🏼 @scorsi

You can achieve that by doing the following:

  1. Create a dedicated git repo for the built website e.g. angular-prod. This repo will only contain the live production build of your site—i.e. with the index.html file at the root of the repo.
  2. To deploy a new version of your app, build it externally and commit the generated static files to the angular-prod repo.
  3. Create your app as a static site using the angular-prod repo and enable Auto Deploy on Push.

Does that fit your needs?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel