From 0fce98f6d2c782e892065384a00518fc7c536d5e Mon Sep 17 00:00:00 2001 From: ekangmonyet <71442331+ekangmonyet@users.noreply.github.com> Date: Sun, 1 Aug 2021 19:39:12 +0800 Subject: [PATCH] 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 --- .github/workflows/generate_pdf.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/generate_pdf.yml diff --git a/.github/workflows/generate_pdf.yml b/.github/workflows/generate_pdf.yml new file mode 100644 index 00000000..94250dcd --- /dev/null +++ b/.github/workflows/generate_pdf.yml @@ -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