By lem0ndragon
Hi everyone,
I have a Node based backend app deployed on the App platform. This app is located in a monorepo together with my frontend. Currently when any files are changed and pushed in the frontend directory, the backend will also redeploy.
My ideal situation would be that the backend will recognize that there are no file changes in the backend directory, and therefore not redeploy. This is currently the case for my frontend on Netlify, is something similar possible on Digital Ocean?
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!
Hello @lem0ndragon ,
From looking at the use case, when the frontend and backend are linked to single app spec then any changes will redeploy entire app. If there is no changes in build specs, then the build will be skipped however deployment will happen. Currently, there is no way to deploy only one component however this is something you can suggest in ideas page for our team to review it.
https://ideas.digitalocean.com/
If either deploy on push feature is enabled for your App or you do manual deployment, it will build the whole App Spec.
Cheers, Sri Charan
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.