Skip to content

Commit

Permalink
Set deployment concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Dec 24, 2024
1 parent b476f91 commit aa94939
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
name: Deploy [TEST]
runs-on: ubuntu-20.04
environment: test
concurrency: test
needs: [tests]
if: github.event_name == 'workflow_dispatch'
steps:
Expand All @@ -133,6 +134,7 @@ jobs:
name: Deploy [STAGING]
runs-on: ubuntu-20.04
environment: staging
concurrency: staging
needs: [tests]
if: github.ref == 'refs/heads/main'
steps:
Expand All @@ -155,6 +157,7 @@ jobs:
name: Deploy [PRODUCTION]
runs-on: ubuntu-20.04
environment: prod20240903
concurrency: prod20240903
needs: [tests]
if: startsWith(github.event.ref, 'refs/tags')
steps:
Expand Down

0 comments on commit aa94939

Please sign in to comment.