Skip to content

Commit

Permalink
Merge pull request #50 from mittwald/bugfix/deployment-concurrency
Browse files Browse the repository at this point in the history
Only "deploy" job should be concurrency-controlled
  • Loading branch information
martin-helmich authored Oct 18, 2023
2 parents 2c5171d + 59edee0 commit 9d25981
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "deploy"
cancel-in-progress: false

jobs:
# Build job
build:
Expand Down Expand Up @@ -50,6 +44,12 @@ jobs:

# Deployment job
deploy:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "deploy"
cancel-in-progress: false

environment:
name: production
url: https://developer.mittwald.de
Expand Down

0 comments on commit 9d25981

Please sign in to comment.