Skip to content

Commit

Permalink
Merge pull request atomvm#833 from UncleGrumpy/publish_docs
Browse files Browse the repository at this point in the history
Modify concurrency rules for Publish Docs workflow
  • Loading branch information
fadushin authored Oct 4, 2023
2 parents 8957f97 + 77456f2 commit b182647
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ on:
pull_request:
branches:
- 'master'
paths:
- '.github/workflows/**'
- 'CMakeLists.txt'
- 'doc/**'
- 'libs/**'
- 'src/libAtomVM/**'
push:
tags:
- '*'
branches:
- '!master'
repositories:
- '!atomvm/AtomVM'
paths:
- '.github/workflows/**'
- 'CMakeLists.txt'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref != 'refs/heads/master' && github.ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down

0 comments on commit b182647

Please sign in to comment.