Skip to content

Commit 6212c7e

Browse files
fix(docs): allow workflow_dispatch to trigger deploy step
Original if: gated deploy on push events only, which made workflow_dispatch runs skip deploy. Add workflow_dispatch as a valid trigger for soft-launch testing.
1 parent 2cf706c commit 6212c7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
path: docs-build/site
9393

9494
deploy:
95-
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs/mkdocs-site')
95+
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs/mkdocs-site')
9696
needs: build
9797
runs-on: ubuntu-latest
9898
environment:

0 commit comments

Comments
 (0)