mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-25 20:33:59 -06:00
This hopefully fixes some of the issues of the docker workflow building the book and website
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
name: Validate LaTeX Document
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
test_building_book:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up git repository
|
|
uses: actions/checkout@v3
|
|
- name: Print dependency versions
|
|
uses: addnab/docker-run-action@v3
|
|
with:
|
|
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
|
options: -v ${{ github.workspace }}:/app
|
|
run: |
|
|
cd /app/book
|
|
make show_tools_version
|
|
- name: Print build variables
|
|
uses: addnab/docker-run-action@v3
|
|
with:
|
|
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
|
options: -v ${{ github.workspace }}:/app
|
|
run: |
|
|
cd /app/book
|
|
make printvars
|
|
- name: Test baking the release versions
|
|
uses: addnab/docker-run-action@v3
|
|
with:
|
|
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
|
options: -v ${{ github.workspace }}:/app
|
|
run: |
|
|
cd /app/book
|
|
make -j build_pdf build_serif_ebook
|