diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 3bdff45a..a0637c3d 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -11,11 +11,7 @@ on: jobs: test: - uses: ./.github/workflows/deploy.yml - strategy: - matrix: - environment: ${{ fromJSON(needs.detect-environments.outputs.environments) }} - environment: ${{ matrix.environment }} + uses: ./.github/workflows/test.yml with: environment: '${{ inputs.environment }}' secrets: inherit diff --git a/.github/workflows/deploy-to-dev.yml b/.github/workflows/deploy-to-dev.yml index 18c043db..e055154c 100644 --- a/.github/workflows/deploy-to-dev.yml +++ b/.github/workflows/deploy-to-dev.yml @@ -14,10 +14,6 @@ on: jobs: test: uses: ./.github/workflows/test.yml - strategy: - matrix: - environment: ${{ fromJSON(needs.detect-environments.outputs.environments) }} - environment: ${{ matrix.environment }} with: environment: '${{ inputs.environment }}' secrets: inherit