diff --git a/.github/workflows/markdown-pdf.yml b/.github/workflows/markdown-pdf.yml new file mode 100644 index 0000000..5c9b99c --- /dev/null +++ b/.github/workflows/markdown-pdf.yml @@ -0,0 +1,28 @@ +name: Generate PDF from README.md + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install Pandoc + run: sudo apt-get install -y pandoc + + - name: Convert README.md to PDF + run: pandoc README.md -o README.pdf + + - name: Upload PDF artifact + uses: actions/upload-artifact@v2 + with: + name: README-pdf + path: README.pdf +