Warez/.github/workflows/makepdfs.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 6: mapping key "on" already defined at line 2

30 lines
765 B
YAML

# https://github.com/marketplace/actions/create-pdf-and-html
on: [push]
name: Docs to PDF
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: baileyjm02/markdown-to-pdf@master
with:
input_dir: ./
output_dir: pdf
#images_dir: docs/images
# for example <img src="./images/file-name.png">
#images_path: ./images
# Default is true, can set to false to only get PDF files
build_html: true
- uses: actions/upload-artifact@v1
with:
name: docs
path: pdfs