Report this

What is the reason for this report?

šŸš‰ Deploy branch from GitHub Actions to App Platform

Posted on February 13, 2023

I have an existing app in app platform and I want to this:

  1. Create PR on GitHub
  2. Deploy branch to app platform to url like: pr-123.myapp.com

Is this possible? Specifically deploying a specific branch to a specific custom sub-domain?



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.

Hi there,

One option to do this would be to use the doctl CLI tool along with the doctl GitHub action:

https://github.com/digitalocean/action-doctl

That way you will be able to create a new App on the App Platform using the doctl apps command:

https://docs.digitalocean.com/reference/doctl/reference/apps/

Hope that this helps!

Best,

Bobby

The developer cloud

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

Start building today

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