Skip to content

Commit

Permalink
Only allow one build at once
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbithell committed Apr 17, 2024
1 parent 4791140 commit 21e6fad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cloudflare-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

name: Deploy production to Cloudflare Pages & Migrate DB
jobs:
deploy:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cloudflare-pages-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
branches-ignore:
- main


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

name: Push Preview to Cloudflare Pages
jobs:
deploy:
Expand Down

0 comments on commit 21e6fad

Please sign in to comment.