Skip to content

Commit

Permalink
fix concurency
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Oct 1, 2024
1 parent 9c8c1fa commit 08a0dd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 08a0dd1

Please sign in to comment.