Skip to content

Commit

Permalink
Merge pull request #292 from digital-land/cicd/removeDevFromMergeDeploy
Browse files Browse the repository at this point in the history
dont auto deploy to dev
  • Loading branch information
GeorgeGoodall authored Aug 16, 2024
2 parents 339932a + b0b6a2f commit d840412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
environment: ${{ fromJSON(needs.detect-environments.outputs.environments) }}
if: ${{ github.ref_name == 'main' }}
if: ${{ github.ref_name == 'main' && matrix.environment != 'development' }}
uses: ./.github/workflows/deploy.yml
with:
environment: '${{ matrix.environment }}'
Expand Down

0 comments on commit d840412

Please sign in to comment.