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:
parent
6026699a40
commit
0fce98f6d2
23
.github/workflows/generate_pdf.yml
vendored
Normal file
23
.github/workflows/generate_pdf.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user