Report this

What is the reason for this report?

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

Posted on January 29, 2021
Mathieu Amiot

By Mathieu Amiot

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.