Question

Is it possible to update an existing App Spec file in the App Platform

If I created a web service + static site with the App Platform, am I able to go into an existing app, and update the App Spec file using doctl?


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.

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.

This will update the app spec:

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

Find the app id first via doctl apps list.

Hello,

Yes, you can always update the App spec. But please ensure to do that only using the API or CLI (doctl). Refer to below link for more insights:

https://www.digitalocean.com/docs/app-platform/references/app-specification-reference/

Hope this helps!

Cheers, Sri Charan