Skip to content

Commit c796f87

Browse files
pubinoclaude
andcommitted
Add concurrency control to prevent parallel deploys
- Both workflows share 'pages-deploy' concurrency group - Build workflow ignores inbox/*.eml and import/*.html paths - Prevents race conditions between newsletter processing and regular builds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9424d0f commit c796f87

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ on:
1414
- 'CNAME'
1515
- '.gitignore'
1616
- '.dockerignore'
17+
- 'inbox/*.eml'
18+
- 'import/*.html'
1719
workflow_dispatch:
1820

21+
concurrency:
22+
group: pages-deploy
23+
cancel-in-progress: false
24+
1925
jobs:
2026
build:
2127
runs-on: ubuntu-latest

.github/workflows/process-newsletters.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- 'import/*.html'
88
workflow_dispatch:
99

10+
concurrency:
11+
group: pages-deploy
12+
cancel-in-progress: false
13+
1014
jobs:
1115
process:
1216
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)