فهرست منبع

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
ekangmonyet 3 سال پیش
والد
کامیت
0fce98f6d2
1فایلهای تغییر یافته به همراه23 افزوده شده و 0 حذف شده
  1. 23 0
      .github/workflows/generate_pdf.yml

+ 23 - 0
.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