Skip to content

Commit 9ed9f92

Browse files
authored
Make build-and-deploy-docs-workflow.yml manually callable
1 parent 68011aa commit 9ed9f92

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build-and-deploy-docs-workflow.yml

+19
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ on:
1515
type: string
1616
required: true
1717
description: "The paths to invalidate in CloudFront, e.g. '/vapor /xctvapor'."
18+
workflow_dispatch:
19+
inputs:
20+
repository:
21+
type: string
22+
required: true
23+
description: "The repository of the package to build docs for."
24+
package_name:
25+
type: string
26+
required: true
27+
description: "The name of the package to build docs for."
28+
modules:
29+
type: string
30+
required: true
31+
description: "The modules in the package to build docs for."
32+
pathsToInvalidate:
33+
type: string
34+
required: true
35+
description: "The paths to invalidate in CloudFront, e.g. '/vapor /xctvapor'."
1836

1937
jobs:
2038

@@ -25,6 +43,7 @@ jobs:
2543
- name: Check out code
2644
uses: actions/checkout@v3
2745
with:
46+
repository: ${{ inputs.repository || github.repository }}
2847
fetch-depth: 0
2948
- name: Install curl and awscliv2
3049
run: |

0 commit comments

Comments
 (0)