App platform: mono repo, add new component

I have deployed a mono-repo to app platform and it is running fine for weeks.

The initial deploy I did with a .do/app.yml file and doctl (similar to this).

Now I want to add a worker to my setup. I have added the worker as a folder in my mono repo and added it to .do/app.yml.

Now I am struggling to get app platform to add the worker. How would I do that? Through doctl again?

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.

Accepted Answer

Found it:

doctl apps update <app id> --spec .do/app.yaml

ATTENTION: It will remove all your env variables that you added through the Web UI!!!

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.