Skip to content

Commit

Permalink
Update .github/workflows/publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed Jul 6, 2023
1 parent d645522 commit 3adeb86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish documentation

on:
repository_dispatch:
types: ["publish"]
workflow_dispatch:
inputs:
ref:
Expand All @@ -27,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
with:
repository: hspec/hspec
ref: ${{ inputs.ref }}
ref: ${{ inputs.ref || 'main' }}
- uses: actions/upload-pages-artifact@v1
with:
path: doc/_site/
Expand Down

0 comments on commit 3adeb86

Please sign in to comment.