Skip to content

Commit

Permalink
Merge pull request #1905 from dscho/prevent-concurrent-deployments
Browse files Browse the repository at this point in the history
Prevent concurrent deployments
  • Loading branch information
dscho authored Oct 18, 2024
2 parents 50f92d2 + b3abe00 commit 95aa4ab
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

jobs:
deploy:
concurrency:
group: "pages"
cancel-in-progress: false
runs-on: ubuntu-latest
permissions:
pages: write # to deploy to GitHub Pages
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ jobs:
name: bundle-${{ matrix.language.lang }}
path: ${{ matrix.language.lang }}.bundle
push-updates:
concurrency:
group: "pages"
cancel-in-progress: false
needs: [check-for-updates, update-book]
if: needs.check-for-updates.outputs.matrix != '[""]'
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-download-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

jobs:
update-download-data:
concurrency:
group: "pages"
cancel-in-progress: false
if: github.event.repository.fork == false || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-git-version-and-manual-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:

jobs:
update-git-version-and-manual-pages:
concurrency:
group: "pages"
cancel-in-progress: false
if: github.event.repository.fork == false || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-translated-manual-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:

jobs:
check-for-updates:
concurrency:
group: "pages"
cancel-in-progress: false
if: github.event.repository.fork == false || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 95aa4ab

Please sign in to comment.