Skip to content

Commit

Permalink
chore: autogen pdf from md
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Sep 15, 2024
1 parent 3910dac commit b8107d3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/genpdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Convert Markdown to PDF

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
convert-markdown:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install marp-cli
run: |
npm install -g @marp-team/marp-cli
- name: Convert Markdown to PDF
run: |
marp docs/slides.md --pdf --output docs/slides.pdf
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: slides-pdf
path: docs/slides.pdf

0 comments on commit b8107d3

Please sign in to comment.