update the path #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Docs to PDFInvalid workflow file
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: Download PDF | ||
files: [ pdfs/README.pdf ] |