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'