So I have front-end and backend apps. When I make changes to them I need to deploy them both. But when I push both, then one gets cancelled and only one component gets deployed :D ( Like wtf ) And I can’t manually force a component to run a deploy again on the front-end project :D Like what should I do?
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!
👋🏼 @MihkelL
I see that you have each app in a different repo. If you have Deploy on Push enabled and you make a commit to your repo, it will create a new deployment to deploy the changes. Generally speaking, whenever a deployment is created, it cancels any in progress ones and starts building.
But, all deployments will deploy all components and not just the one that triggered it via commit. So, the second deployment will pick up the changes/commit from the canceled deployment. This is also the case when you manually click the Deploy button.
Though I realize that the deployment descriptions (commit <hash> pushed to <repo>) can be a bit confusing as they only list one commit. So you can definitely just push to both repos and all changes will be automatically deployed.
For example, if you have repos frontend and backend:
frontendbackendbackend.You can confirm by looking at the build logs for the second deployment. In the first few lines you will see the commit hashes that are used. I hope this clears things up!
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.