Is it possible for DigitalOcean Apps to target commits or tags?


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.

    branch: v1.0.4
    repo: MyOrg/myrepo

But when trying I get a

Error: PUT[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

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.

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:

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.