From e22e2aed72e0dbc3fd0813f9871135697f21c387 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 22 Jan 2026 15:23:16 +0100 Subject: [PATCH] ci(deploy): add concurrency to prevent duplicate artifacts prevents multiple deploy workflows from running concurrently for the same branch, which caused "multiple github-pages artifacts" errors when builds completed close together. --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 170d43c2..b49fdebf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,12 @@ on: env: BUILD_PATH: 'blog-build' +# Prevent concurrent deployments to the same target +# This avoids the "multiple github-pages artifacts" error +concurrency: + group: deploy-${{ github.event.workflow_run.head_branch }} + cancel-in-progress: true + jobs: deploy-ipfs: if: github.event.workflow_run.conclusion == 'success'