From 72f8d901d59a7af1edb3573261bd91981babaa4d Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 10 Nov 2022 20:04:05 +0600 Subject: [PATCH] ci: set cancel-in-progress only for deploy job not the whole docs wf --- .github/workflows/docs.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a9dc26a8..e819c4e3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,10 +11,6 @@ permissions: pages: write id-token: write -concurrency: - group: "pages" - cancel-in-progress: true - defaults: run: shell: bash @@ -75,6 +71,9 @@ jobs: deploy-docs: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + concurrency: + group: "pages" + cancel-in-progress: true environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}