Dockerized PDF deployment in GitHub Actions (#28)

Add a new GitHub Action to build and release the PDF file after every
push to master.  Use texlive/texlive docker image for the sake of
reproducibility in preparation for future build tools like make4ht .

Progress #27 - Reproducible TeX build environment using Docker
This commit is contained in:
ekangmonyet 2021-08-01 19:39:12 +08:00 committed by GitHub
parent 6026699a40
commit 0fce98f6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
.github/workflows/generate_pdf.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: build-deploy-assets
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: texlive/texlive
steps:
- uses: actions/checkout@v2
- name: Build
run: make all
- name: Release
uses: softprops/action-gh-release@v1
with:
files: lkmpg.pdf
tag_name: "latest"
prerelease: true