From 94abbbc6a64568840f7359781f9c374a2bd7b8bd Mon Sep 17 00:00:00 2001 From: rolo Date: Thu, 19 Nov 2026 14:54:53 +0100 Subject: [PATCH] ci: run one docs deploy at a time PRs merged in quick succession each start a deploy; two that push to gh-pages at once race, and one fails with 'cannot lock ref'. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/deploy-docs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6edc2c18..aa25d0b6 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -9,6 +9,12 @@ on: # tags: # - '*' +# One deploy at a time: two that push to gh-pages at once race, and one of them fails. A deploy +# that is running finishes; of those waiting, only the newest is kept. +concurrency: + group: deploy-docs + cancel-in-progress: false + jobs: build: name: Deploy MkDocs