Skip to content

Commit

Permalink
updated matrix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjfirth committed Jun 20, 2024
1 parent 4d1da3b commit 7e771e5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/matrix-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,23 @@ jobs:
branch: ${{ needs.set-env.outputs.branch }}
checked-out-sha: ${{ needs.set-env.outputs.checked-out-sha }}

create-and-tag-release:
needs: [set-env, create-and-publish-image]
name: Create & Tag Release
uses: ./.github/workflows/create-tag-release.yml
secrets: inherit

deploy-to-dev-and-test:
needs: [set-env, create-and-publish-image]
name: Deploy to Dev
strategy:
max-parallel: 1
fail-fast: true
matrix:
target: [Dev]
uses: ./.github/workflows/deploy-image.yml
with:
environment: ${{ matrix.target }}
branch: ${{ needs.set-env.outputs.branch }}
checked-out-sha: ${{ needs.set-env.outputs.checked-out-sha }}
secrets: inherit

0 comments on commit 7e771e5

Please sign in to comment.