Lead Engineer
Hello,
I’m setting up a production environment using DigitalOcean Apps and I was wondering if it was possible to target a git tag or specific commit in the spec?
Something like so, since tags are branch-like when considering git.
github:
branch: v1.0.4
repo: MyOrg/myrepo
But when trying I get a
Error: PUT https://api.digitalocean.com/v2/apps/[app-id]: 404 Git branch not found
Is there any way (even undocumented) to target a tag (or if possible, a specific commit on a branch, like main@abcdef94739)?
Thanks, Mathieu
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 @otak
Unfortunately, it’s not possible to deploy based on the specific commit or git tags.
I encourage you to share your thoughts about this on our ideas page: https://ideas.digitalocean.com/
We’re constantly looking to improve all aspects of our service and welcome any other ideas or feedback you have! By sharing your thoughts there, it helps us to better prioritize working on the features that you feel need more attention.
Regards,
-Dikshith
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.