From 08a0dd16db0f54421cc000f0dc3a69eaccc743a3 Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Tue, 1 Oct 2024 09:37:08 +0200 Subject: [PATCH] fix concurency --- .github/workflows/docs.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index dc88113ad6..d2b27a8ce5 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -3,6 +3,10 @@ name: Docs Preview on: pull_request: +# ensure job runs sequentially so pushing to the preview branch doesn't conflict +concurrency: + group: ci-docs-preview + env: IROH_FORCE_STAGING_RELAYS: "1" @@ -37,7 +41,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./target/doc/ destination_dir: ${{ env.PREVIEW_PATH }} - publish_branch: generated-docs-preview-${{ github.event.pull_request.number }} + publish_branch: generated-docs-preview - name: Find Docs Comment uses: peter-evans/find-comment@v3