Skip to content

Commit

Permalink
pandoc action
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyShran committed May 16, 2024
1 parent 8c6dbd5 commit cc3b860
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: v0.1 pandoc convert markdown to PDF

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

convert:
runs-on: ubuntu-latest

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

- name: Convert Markdown to PDF
run: |
docker run --rm -v "${{ github.workspace }}/document/0.1:/data" pandoc/core:2.9 /data/*.md -o /data/output.pdf
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: output-pdf
path: document/0.1/TASVS.pdf

0 comments on commit cc3b860

Please sign in to comment.