diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 240f6104..f57fead7 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -40,6 +40,7 @@ jobs: echo "name=image::$ECR_REGISTRY/$ECR_REPOSITORY:latest" >> $GITHUB_OUTPUT setup-database: + needs: build name: Setup Database runs-on: ubuntu-latest environment: alpha @@ -65,6 +66,7 @@ jobs: run: pnpm db:deploy-migrations deploy: + needs: [build, setup-database] runs-on: ubuntu-latest environment: alpha name: Deploy API docker image for release diff --git a/.github/workflows/deploy-platform.yml b/.github/workflows/deploy-platform.yml index ca97068e..460d794c 100644 --- a/.github/workflows/deploy-platform.yml +++ b/.github/workflows/deploy-platform.yml @@ -40,6 +40,7 @@ jobs: echo "name=image::$ECR_REGISTRY/$ECR_REPOSITORY:latest" >> $GITHUB_OUTPUT deploy: + needs: build runs-on: ubuntu-latest environment: alpha name: Deploy Platform docker image for release diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index 9603e1e4..61adf9ec 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -40,6 +40,7 @@ jobs: echo "name=image::$ECR_REGISTRY/$ECR_REPOSITORY:latest" >> $GITHUB_OUTPUT deploy: + needs: build runs-on: ubuntu-latest environment: alpha name: Deploy Web docker image for release