From 06b39ec27120904d092cc925666e15493b6e8239 Mon Sep 17 00:00:00 2001 From: klapaucius Date: Fri, 1 Dec 2023 19:39:51 +0500 Subject: [PATCH] Create convert-to-pdf.yml --- .github/workflows/convert-to-pdf.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/convert-to-pdf.yml diff --git a/.github/workflows/convert-to-pdf.yml b/.github/workflows/convert-to-pdf.yml new file mode 100644 index 0000000..366c165 --- /dev/null +++ b/.github/workflows/convert-to-pdf.yml @@ -0,0 +1,24 @@ +name: Docs to PDF +on: + push: + branches: + - main + paths: + - 'index.md' + +jobs: + converttopdf: + name: Build PDF + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: baileyjm02/markdown-to-pdf@v1 + with: + input_path: index.md + output_dir: pdfs + build_html: false + - uses: actions/upload-artifact@v3 + with: + name: docs + path: pdfs +