gitea: build pdf on push
Some checks failed
Build PDF / make pdf (push) Failing after 56s

This commit is contained in:
2025-09-08 23:25:33 -07:00
parent 9b9648d033
commit 6f4ae177da

View File

@@ -0,0 +1,35 @@
name: Build PDF
on:
push:
branches: [ main, master ]
pull_request:
workflow_dispatch:
jobs:
pdf:
name: make pdf
runs-on: ubuntu-latest
container:
image: golang:1.22-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Chromium and tools
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
make chromium ca-certificates fonts-liberation
rm -rf /var/lib/apt/lists/*
- name: Build PDF
run: make pdf
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: output-pdf
path: _dist/output.pdf
if-no-files-found: error