# pdf.yml
# https://github.com/marketplace/actions/create-pdf
# https://github.com/mkrakowitzer/actions-makepdfs/
on: [push]

name: CreatePDFs

jobs:
  makepdfs:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: mkrakowitzer/actions-makepdfs@master
      if: github.ref == 'refs/heads/master'
    - uses: actions/upload-artifact@v1
      with:
        name: platform-architecture-docs
        path: /pdf
