Skip to content

Generate PDFs

Generate PDFs #38

Workflow file for this run

name: Generate PDFs
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
generate-pdfs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Prince
run: |
curl https://www.princexml.com/download/prince-15.4.1-linux-generic-x86_64.tar.gz -O
tar zxf prince-15.4.1-linux-generic-x86_64.tar.gz
cd prince-15.4.1-linux-generic-x86_64
yes "" | sudo ./install.sh
- name: Generate PDFs
run: sh ./generate-pdfs/generate-pdfs.sh
- name: Upload PDFs
uses: actions/upload-artifact@v3
with:
name: aerie-docs-pdfs
path: pdf
if-no-files-found: error