We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d645522 commit 3adeb86Copy full SHA for 3adeb86
1 file changed
.github/workflows/publish.yml
@@ -1,6 +1,8 @@
1
name: Publish documentation
2
3
on:
4
+ repository_dispatch:
5
+ types: ["publish"]
6
workflow_dispatch:
7
inputs:
8
ref:
@@ -27,7 +29,7 @@ jobs:
27
29
- uses: actions/checkout@v3
28
30
with:
31
repository: hspec/hspec
- ref: ${{ inputs.ref }}
32
+ ref: ${{ inputs.ref || 'main' }}
33
- uses: actions/upload-pages-artifact@v1
34
35
path: doc/_site/
0 commit comments