From 8f3a70033a40fff1ebf47e8324005d8c73bdfb2a Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Wed, 24 Feb 2021 20:42:01 +0100 Subject: [PATCH] Fix wrong script route in S3 deployment (#1949) --- .github/workflows/deploy-ewc.yml | 2 +- .github/workflows/deploy-mainnet.yml | 2 +- .github/workflows/deploy-rinkeby.yml | 4 ++-- .github/workflows/deploy-volta.yml | 2 +- .github/workflows/deploy-xdai.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-ewc.yml b/.github/workflows/deploy-ewc.yml index 3d1993fd..9e179d8b 100644 --- a/.github/workflows/deploy-ewc.yml +++ b/.github/workflows/deploy-ewc.yml @@ -103,7 +103,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/master' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-mainnet.yml b/.github/workflows/deploy-mainnet.yml index 7efb0f8f..397ea93f 100644 --- a/.github/workflows/deploy-mainnet.yml +++ b/.github/workflows/deploy-mainnet.yml @@ -84,7 +84,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/master' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-rinkeby.yml b/.github/workflows/deploy-rinkeby.yml index 45cc22ea..ced37b34 100644 --- a/.github/workflows/deploy-rinkeby.yml +++ b/.github/workflows/deploy-rinkeby.yml @@ -105,7 +105,7 @@ jobs: # Script to deploy to development environment - name: 'Deploy to S3: Develop' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/development' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -114,7 +114,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/master' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-volta.yml b/.github/workflows/deploy-volta.yml index 20d3f9d5..02228c66 100644 --- a/.github/workflows/deploy-volta.yml +++ b/.github/workflows/deploy-volta.yml @@ -106,7 +106,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/master' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-xdai.yml b/.github/workflows/deploy-xdai.yml index eb472d46..ac5e70ca 100644 --- a/.github/workflows/deploy-xdai.yml +++ b/.github/workflows/deploy-xdai.yml @@ -106,7 +106,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' - run: bash ./scripts/deploy_to_s3_bucket.sh + run: bash ./scripts/github/deploy_to_s3_bucket.sh if: github.ref == 'refs/heads/master' env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}