From 166fcb52aca8134e486988d8f21b8ec31aabd566 Mon Sep 17 00:00:00 2001 From: Mario Vitale Date: Thu, 7 Dec 2023 19:09:20 +0100 Subject: [PATCH] Perform one last test deploy of staging code --- .github/workflows/build-and-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c20d5f8..7a57f3d 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -38,7 +38,7 @@ jobs: retention-days: 2 deploy: - if: ${{ github.repository == 'mattermost/mattermost-marketplace' && (github.ref_name == 'master' || github.ref_name == 'production') }} + if: ${{ github.repository == 'mattermost/mattermost-marketplace' && (github.ref_name == 'cld-6708-test-deploy' || github.ref_name == 'production') }} runs-on: ubuntu-22.04 container: node:20 needs: @@ -62,7 +62,7 @@ jobs: - name: deploy/set-artifact-permissions run: chmod +x dist/* - name: deploy/master-branch - if: ${{ github.ref_name == 'master' }} + if: ${{ github.ref_name == 'cld-6708-test-deploy' }} env: AWS_ACCESS_KEY_ID: ${{ secrets.MM_MARKETPLACE_AWS_ACCESS_KEY_ID_STAGING }} AWS_SECRET_ACCESS_KEY: ${{ secrets.MM_MARKETPLACE_AWS_SECRET_ACCESS_KEY_STAGING }}