Skip to content

Commit

Permalink
Emulate master merge to trigger a staging env deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvitale1989 committed Nov 14, 2023
1 parent 56e853f commit 2750bee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
retention-days: 2

deploy:
if: ${{ github.repository == 'mattermost/mattermost' && (github.ref_name == 'master' || github.ref_name == 'production') }}
#if: ${{ github.repository == 'mattermost/mattermost' && (github.ref_name == 'master' || github.ref_name == 'production') }}
if: ${{ github.repository == 'mattermost/mattermost' && (github.ref_name == 'cld-6549-gha-migration' || github.ref_name == 'production') }}
runs-on: ubuntu-22.04
container: node:18
needs:
Expand All @@ -51,7 +52,8 @@ jobs:
name: marketplace-build
path: dist/
- name: deploy/master-branch
if: ${{ github.ref_name == 'master' }}
#if: ${{ github.ref_name == 'master' }}
if: ${{ github.ref_name == 'cld-6549-gha-migration' }}
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 }}
Expand Down

0 comments on commit 2750bee

Please sign in to comment.