Skip to content

Commit 54fd1ac

Browse files
Cancel the previous running deployment of PR if new deployment detected
1 parent 2ccc661 commit 54fd1ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy_preview.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
branches: [ "master" ]
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: "vercel-preview-${{ github.event.pull_request.number }}"
14+
cancel-in-progress: true
15+
1216
jobs:
1317
test:
1418
uses: ./.github/workflows/tests.yml

0 commit comments

Comments
 (0)