From 2bd40e7a944ca07ab82c5188549f4f91f6412c75 Mon Sep 17 00:00:00 2001 From: Ekang Monyet Date: Sun, 1 Aug 2021 16:14:15 +0800 Subject: [PATCH] Dockerized PDF deployment in Github Actions Add a new Github Action to build and release the pdf file after every push to master. Using texlive/texlive docker image for reproducibility and also forward compability with tools like make4ht for future builds. Progress #27 - Reproducible TeX build environment using Docker --- .github/workflows/release_pdf_github.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release_pdf_github.yml diff --git a/.github/workflows/release_pdf_github.yml b/.github/workflows/release_pdf_github.yml new file mode 100644 index 00000000..94250dcd --- /dev/null +++ b/.github/workflows/release_pdf_github.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