Skip to content

Commit 4e99cf0

Browse files
authored
allow worflow dispatch on docs deploy
1 parent f4e441b commit 4e99cf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-mkdocs-website.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ permissions:
1515

1616
jobs:
1717
build-and-deploy:
18-
if: ${{github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true}}
18+
if: |
19+
github.event_name == 'workflow_dispatch' ||
20+
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
1921
runs-on: ubuntu-latest
2022

2123
steps:

0 commit comments

Comments
 (0)