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!
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.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
