From d7d1576a9ae8071303a5973bdae0dd3d9b5240d0 Mon Sep 17 00:00:00 2001 From: Nicolas Peugnet Date: Wed, 24 Jul 2024 14:25:33 +0200 Subject: [PATCH] Add concurency group to cancel previous deploy build This allows to only keep the last deploy build running, to save computing power and prevent concurrent updates of the online docs. --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf9993bb..efe507f3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,6 +6,10 @@ on: - main workflow_dispatch: +concurrency: + group: deploy + cancel-in-progress: true + jobs: all: runs-on: ubuntu-22.04