Skip to content

Commit

Permalink
Merge pull request #2152 from bcgov/feature/ALCS-2476-disable-deploy-…
Browse files Browse the repository at this point in the history
…concurrency

ALCS-2476: Disable deploy concurrency
  • Loading branch information
dylanrogowsky-oxd authored Feb 26, 2025
2 parents 4b3cddb + c1dbd1d commit d3f4cce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ jobs:
with:
environment: test
secrets: inherit
concurrency:
group: deploy-test
cancel-in-progress: true
deploy-prod:
needs: deploy-test
uses: ./.github/workflows/deploy.yml
with:
environment: prod
secrets: inherit
secrets: inherit
concurrency:
group: deploy-prod
cancel-in-progress: true
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ env:

jobs:
deploy:
concurrency:
group: deploy-${{ inputs.environment }}
cancel-in-progress: true
environment: ${{ inputs.environment }}
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit d3f4cce

Please sign in to comment.