diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 4dd24acc4c..b2167c3495 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -81,6 +81,10 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v1 + build_and_push: + needs: [setup] + runs-on: ubuntu-latest + steps: - name: Set branch name if not PR if: github.event_name != 'pull_request' run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV @@ -94,10 +98,6 @@ jobs: - name: Checkout uses: actions/checkout@v2 - build_an_push: - needs: [setup] - runs-on: ubuntu-latest - steps: # Docs Site - name: Build and push docs site uses: docker/build-push-action@v2