From: ekangmonyet <71442331+ekangmonyet@users.noreply.github.com> Date: Sun, 1 Aug 2021 11:39:12 +0000 (+0800) Subject: Dockerized PDF deployment in GitHub Actions (#28) X-Git-Tag: latest~217 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=0fce98f6d2c782e892065384a00518fc7c536d5e;p=lkmpg 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 --- diff --git a/.github/workflows/generate_pdf.yml b/.github/workflows/generate_pdf.yml new file mode 100644 index 0000000..94250dc --- /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