Skip to content

Commit 9caaa1b

Browse files
committed
chore(ci): serialize build, migrations and deploy via shared concurrency group; keep lint parallel
1 parent 7d20d76 commit 9caaa1b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-and-push.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
needs: [lint, check-changes]
6868
runs-on: ubuntu-latest
6969
concurrency:
70-
group: build-and-push-${{ github.ref }}-${{ matrix.app }}
70+
group: build-and-push-${{ github.ref }}
7171
cancel-in-progress: false
7272
permissions:
7373
contents: read
@@ -219,6 +219,9 @@ jobs:
219219
220220
run-migrations:
221221
needs: [build-and-push]
222+
concurrency:
223+
group: build-and-push-${{ github.ref }}
224+
cancel-in-progress: false
222225
uses: ./.github/workflows/run-migrations.yml
223226
with:
224227
workflow_call: true
@@ -234,6 +237,9 @@ jobs:
234237

235238
deploy-bluegreen:
236239
needs: [run-migrations, build-and-push]
240+
concurrency:
241+
group: build-and-push-${{ github.ref }}
242+
cancel-in-progress: false
237243
uses: ./.github/workflows/deploy-bluegreen.yml
238244
permissions:
239245
id-token: write
@@ -246,6 +252,9 @@ jobs:
246252

247253
deploy-rolling:
248254
needs: [run-migrations, build-and-push]
255+
concurrency:
256+
group: build-and-push-${{ github.ref }}
257+
cancel-in-progress: false
249258
uses: ./.github/workflows/deploy-rolling.yml
250259
permissions:
251260
id-token: write

0 commit comments

Comments
 (0)