Skip to content

Commit

Permalink
Fix manual workflow dispatches
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Richardson <[email protected]>
  • Loading branch information
arichardson authored Feb 14, 2025
1 parent 6043e47 commit 82cc941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ jobs:
retention-days: 30

# Upload GitHub pages artefacts.
- name: Make gitlab pages directory
- name: Make GitHub pages directory
run: mkdir dist && cp build/*.html dist/index.html
if: github.event_name == 'push'
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push'

- name: Upload artifact
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist
Expand Down

0 comments on commit 82cc941

Please sign in to comment.