Skip to content

update the path

update the path #53

name: Docs to PDF
on:
push:
branches:
- main
paths:
- 'README.md'
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: '/'
output_dir: pdfs
# Default is true, can set to false to only get PDF files
build_html: false
- uses: actions/upload-artifact@v3
with:
name: Upload PDF
files: [ pdfs/README.pdf ]

Check failure on line 24 in .github/workflows/convert-to-pdf.yml

View workflow run for this annotation

GitHub Actions / Docs to PDF

Invalid workflow file

The workflow is not valid. .github/workflows/convert-to-pdf.yml (Line: 24, Col: 18): A sequence was not expected .github/workflows/convert-to-pdf.yml (Line: 28, Col: 18): A sequence was not expected
- uses: actions/download-artifact@v3
with:
name: Download PDF
files: [ pdfs/README.pdf ]