Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/generate-pdfs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Mkdocs build PDFs

on:
push:
branches:
- main
schedule:
- cron: '0 12 1 * *'
workflow_dispatch:

jobs:
build_pdfs:
runs-on: ubuntu-latest
name: Build PDFs
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.9"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ${PWD}/build_pdf/requirements.txt

- name: Build all
run: ${PWD}/build_pdf/build_all.sh

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: pdfs
path: build_pdf/pdf/*
Empty file modified build_pdf/build_all.sh
100644 → 100755
Empty file.