Skip to content

Commit

Permalink
Generate PDF slides after HTML slides
Browse files Browse the repository at this point in the history
  • Loading branch information
trossi committed Nov 26, 2024
1 parent 97b8c5b commit a793d93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pages-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Deploy HTML and PDF slides to Pages

on:
# Runs after HTML deployment
workflow_run:
workflows: [Deploy HTML slides to Pages]
types:
- completed

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -12,6 +18,7 @@ permissions:

jobs:
pages-pdf:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/pages.yml
with:
include_pdf: true

0 comments on commit a793d93

Please sign in to comment.