Skip to content

Commit 7a25f3e

Browse files
committed
docs: allow manual workflow trigger to publish docs
1 parent cb2fbeb commit 7a25f3e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
release:
1111
types:
1212
- published
13+
workflow_dispatch:
14+
inputs:
15+
publish_docs:
16+
description: "Publish Documentation Website"
17+
required: false
18+
type: boolean
1319

1420
jobs:
1521
build:
@@ -118,7 +124,7 @@ jobs:
118124

119125
publish-pages:
120126
runs-on: ubuntu-latest
121-
if: github.event_name == 'release'
127+
if: github.event_name == 'release' || github.event.inputs.publish_docs == true
122128
needs:
123129
- build
124130
permissions:

0 commit comments

Comments
 (0)