Question

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?

Subscribe
Share

Submit an 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.

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!!!