Skip to content

Commit 69821a3

Browse files
pmbittneribbem
andcommitted
CI: kill current deployment job when new CI job is issued
Co-authored-by: Benjamin Moosherr <[email protected]>
1 parent 10a7aa5 commit 69821a3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,9 @@ jobs:
5050
- name: Publish Javadoc to Github Pages
5151
id: deployment
5252
uses: actions/deploy-pages@v1
53+
54+
# Kill in progress deployments because only the newest version is relevant
55+
# and concurrent deployments cause CI failures.
56+
concurrency:
57+
group: ${{ github.workflow }}-${{ github.ref }}
58+
cancel-in-progress: true

0 commit comments

Comments
 (0)