We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1683b7c commit 06396adCopy full SHA for 06396ad
.github/workflows/docs_build_and _deploy.yml
@@ -37,7 +37,8 @@ jobs:
37
needs: build_sphinx_docs
38
permissions:
39
contents: write
40
- if: (github.event_name == 'push' && github.ref_type == 'tag') || github.event_name == 'workflow_dispatch'
+ # Deploy on: main branch pushes OR tags OR manual trigger
41
+ if: (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')) || github.event_name == 'workflow_dispatch'
42
runs-on: ubuntu-latest
43
steps:
44
- uses: neuroinformatics-unit/actions/deploy_sphinx_docs@main
0 commit comments