Skip to content

Commit 0ee1e02

Browse files
chore(ci): concurrency group
1 parent 0856fc6 commit 0ee1e02

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/preview-envs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
concurrency:
9-
group: preview-${{ github.event.pull_request.number }}
9+
group: preview-${{ github.event.pull_request.number }}-deploy
1010
cancel-in-progress: false
1111

1212
jobs:

.github/workflows/preview-envs-destroy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [ closed ]
66

77
concurrency:
8-
group: preview-${{ github.event.pull_request.number }}
8+
group: preview-${{ github.event.pull_request.number }}-destroy
99
cancel-in-progress: false
1010

1111
jobs:
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: cdk destroy
6666
working-directory: ./infra
67-
run: cdk destroy --profile default --force
67+
run: cdk destroy --profile default --all --force
6868
env:
6969
UNIQUE_ENV_ID: 'PR${{ github.event.number }}'
7070
OPENAI_API_KEY: ${{ steps.doppler.outputs.OPENAI_API_KEY }}

0 commit comments

Comments
 (0)