Skip to content

Commit

Permalink
Merge pull request #293 from digital-land/cicd/removeDevFromMergeDeploy
Browse files Browse the repository at this point in the history
Cicd/remove dev from merge deploy
  • Loading branch information
GeorgeGoodall authored Aug 16, 2024
2 parents d840412 + 81c9e06 commit 3a3f059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
needs: [run-tests, detect-environments]
strategy:
matrix:
environment: ${{ fromJSON(needs.detect-environments.outputs.environments) }}
if: ${{ github.ref_name == 'main' && matrix.environment != 'development' }}
environment: ['production', 'staging']
if: ${{ github.ref_name == 'main'}}
uses: ./.github/workflows/deploy.yml
with:
environment: '${{ matrix.environment }}'
Expand Down

0 comments on commit 3a3f059

Please sign in to comment.