From be91bf1519c351b988ed0cf7a7190e044b48167e Mon Sep 17 00:00:00 2001 From: George Goodall Date: Fri, 16 Aug 2024 15:35:02 +0100 Subject: [PATCH 1/2] test --- .github/workflows/base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 6adfbb56..d8027a54 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -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', 'development'] + if: ${{ github.ref_name == 'main'}} uses: ./.github/workflows/deploy.yml with: environment: '${{ matrix.environment }}' From 81c9e0610f153738aad986e4275efd6f4caed81f Mon Sep 17 00:00:00 2001 From: George Goodall Date: Fri, 16 Aug 2024 15:35:22 +0100 Subject: [PATCH 2/2] test --- .github/workflows/base.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index d8027a54..28b9937e 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -36,7 +36,7 @@ jobs: needs: [run-tests, detect-environments] strategy: matrix: - environment: ['production', 'development'] + environment: ['production', 'staging'] if: ${{ github.ref_name == 'main'}} uses: ./.github/workflows/deploy.yml with: