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.

I am trying to use the digitalocean/app_action/deploy@v2 GitHub Action to automate the deployment of our development environment whenever a new image is pushed to our GitHub Container Registry.
Before I used the action I would have to manually go to the App Platform project and select Actions > Deploy. It would then grab the most recent development tag for the image and re-deploy it. This always worked and hasn’t caused us any issues.
I began using the digitalocean/app_action/deploy@v2 GitHub Action and had this step added after the image was pushed to the GitHub Container Registry:
deploy_to_development:
name: Deployment to DigitalOcean App Platform development environment
needs: [release_management, push_to_registry]
runs-on: ubuntu-latest
steps:
- name: Deploy to DigitalOcean App Platform (development)
uses: digitalocean/app_action/deploy@v2
with:
token: ${{ secrets.DIGITALOCEAN_TOKEN }}
project_id: ${{ vars.DIGITALOCEAN_PROJECT_ID }}
app_name: ${{ vars.DIGITALOCEAN_APP_NAME }}
It would run and start returning the following log statements:
app "_______" already exists, updating...
wait for deployment to finish
deployment is in phase: PENDING_BUILD
deployment is in phase: BUILDING
deployment is in phase: DEPLOYING
deployment is in phase: ACTIVE
After the final phase, ACTIVE, the action would continue to run upwards of 5+ minutes without any changes. While it was running I went to the DigitalOcean App Platform project and verified in the activity section that the deployment was live and there was a checkmark next to both the build and deploy logs. In this past example the image was the same, so the deployment (per DigitalOcean’s logs) only took 1 second.
I didn’t want to waste our GitHub Action minutes so I would cancel it manually after 10+ minutes of running. It appears to be hanging after the deployment is done in GitHub Actions. How can I resolve this or is this an issue with DigitalOcean’s deploy action?
Laveenk16
SonuKrJe
016512ea60864da0867e5280f293de
f9ccf41c1c3743eb9a1071f9dae7a7
KFSys
9e88c3e13bc3486b8d5b03587df754
Shaun
grime3ja
Mark Reeves
Whathetech
1cc989f14bd449869796256cff236f
1f70c371f9c047c5a04b252f165d88