Skip to content

Commit

Permalink
Merge pull request #414 from scidsg/deploy-wait
Browse files Browse the repository at this point in the history
remove "Wait for deployment to finish" step from deploy job
  • Loading branch information
micahflee authored Jul 17, 2024
2 parents 544a54b + 9af5ab7 commit ed20c8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build-and-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ jobs:

- name: Trigger deployment on DigitalOcean App Platform
run: |
doctl apps create-deployment $DIGITALOCEAN_APP_ID --force-rebuild
env:
DIGITALOCEAN_APP_ID: ${{ secrets.DIGITALOCEAN_APP_ID }}

- name: Wait for deployment to finish
run: |
doctl apps wait $DIGITALOCEAN_APP_ID
doctl apps create-deployment $DIGITALOCEAN_APP_ID --force-rebuild --wait
env:
DIGITALOCEAN_APP_ID: ${{ secrets.DIGITALOCEAN_APP_ID }}
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ name: Run Tests

on:
push:
paths-ignore:
- .github/**
branches:
- main
pull_request:
paths-ignore:
- .github/**
branches:
- main

Expand Down

0 comments on commit ed20c8f

Please sign in to comment.