Skip to content

Generate PDFs

Generate PDFs #39

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@v4
- uses: actions/setup-node@v4
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@v4
with:
name: aerie-docs-pdfs
path: pdf
if-no-files-found: error