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