Skip to content

Commit d4cf56f

Browse files
authored
Update deployment condition for Sphinx Docs
1 parent b043d3a commit d4cf56f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/docs_build_and_deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- main
1212
tags:
1313
- 'v*'
14-
pull_request:
1514
workflow_dispatch:
1615

1716
# Cancel in-progress runs if a new run is triggered, except for main branch.
@@ -33,7 +32,7 @@ jobs:
3332
needs: build_sphinx_docs
3433
permissions:
3534
contents: write
36-
if: github.event_name == 'push' && github.ref_type == 'tag'
35+
if: github.event_name == 'push'
3736
runs-on: ubuntu-latest
3837
steps:
3938
- uses: neuroinformatics-unit/actions/deploy_sphinx_docs@v2

0 commit comments

Comments
 (0)