Skip to content

Commit 9ff4d2e

Browse files
committed
CI publish docs if manually triggered
1 parent d3f5dd1 commit 9ff4d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
touch docs/.nojekyll
4343
4444
- name: Publish to gh-pages if tagged
45-
if: startsWith(github.ref, 'refs/tags')
45+
if: startsWith(github.ref, 'refs/tags') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
4646
uses: JamesIves/github-pages-deploy-action@v4.8.0
4747
with:
4848
branch: gh-pages

0 commit comments

Comments
 (0)