34 lines
753 B
YAML
Raw Normal View History

2025-01-20 11:19:08 -08:00
on:
push:
pull_request:
workflow_run:
name: Build and deploy
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
2025-01-21 15:53:19 -08:00
- name: Install TeXLive
run: |
2025-01-21 15:59:38 -08:00
cd /tmp &&
wget "https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz" &&
(zcat < install-tl-unx.tar.gz | tar xf -) &&
cd install-tl-* &&
2025-01-21 15:58:40 -08:00
sudo perl ./install-tl --no-interaction
- run: ls /usr/local/texlive/2025/bin/x86_64-linux
2025-01-20 11:19:08 -08:00
- name: Build LaTeX handouts
2025-01-21 15:53:19 -08:00
run: python tools/build/main.py
2025-01-20 11:19:08 -08:00
- uses: actions/upload-artifact@v3
with:
name: output
path: "output/*"
retention-days: 10