From 62150b0b635ff3fb51227e5b05dc537e1d5fbe6b Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Thu, 20 Jun 2024 13:18:02 +0200 Subject: [PATCH] ci: fix workflow order --- .github/workflows/deploy-staging.yml | 1 + .github/workflows/release.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index ffdc9ca..aa9ac13 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -78,6 +78,7 @@ jobs: deploy_staging: name: Deploy Blobscan indexer (staging) runs-on: ubuntu-latest + needs: docker environment: staging steps: - uses: appleboy/ssh-action@v0.0.7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ec24d0..084ac36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,7 @@ jobs: deploy_sepolia: name: Deploy Blobscan indexer (sepolia) runs-on: ubuntu-latest + needs: docker environment: sepolia steps: - uses: appleboy/ssh-action@v0.0.7 @@ -93,6 +94,7 @@ jobs: deploy_holesky: name: Deploy Blobscan indexer (holesky) runs-on: ubuntu-latest + needs: docker environment: holesky steps: - uses: appleboy/ssh-action@v0.0.7 @@ -106,6 +108,7 @@ jobs: deploy_gnosis: name: Deploy Blobscan indexer (gnosis) runs-on: ubuntu-latest + needs: docker environment: gnosis steps: - uses: appleboy/ssh-action@v0.0.7 @@ -119,6 +122,7 @@ jobs: deploy_mainnet: name: Deploy Blobscan indexer (mainnet) runs-on: ubuntu-latest + needs: [deploy_sepolia, deploy_holesky, deploy_gnosis] environment: mainnet steps: - uses: appleboy/ssh-action@v0.0.7