Skip to content

Commit

Permalink
Add concurency group to cancel previous deploy build
Browse files Browse the repository at this point in the history
This allows to only keep the last deploy build running, to save computing power and prevent concurrent updates of the online docs.
  • Loading branch information
n-peugnet authored Jul 24, 2024
1 parent a122eda commit d7d1576
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
workflow_dispatch:

concurrency:
group: deploy
cancel-in-progress: true

jobs:
all:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit d7d1576

Please sign in to comment.