Integrate complete Version 1.3 manual with automated PDF build
Build DevOps IT Manual / Compile LaTeX PDF (push) Successful in 33s
Build DevOps IT Manual / Compile LaTeX PDF (push) Successful in 33s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
|
||||
FROM ghcr.io/xu-cheng/texlive-full@sha256:c06416ebbc69c8e90e07d1f1a6f7a3f9b334e773daa3543ce879ea533317c3a7
|
||||
|
||||
RUN apk add --no-cache nodejs npm
|
||||
|
||||
@@ -30,16 +30,19 @@ jobs:
|
||||
\renewcommand{\BuildAttempt}{${GITHUB_RUN_ATTEMPT:-1}}
|
||||
EOF
|
||||
|
||||
- name: Compile manual
|
||||
- name: Compile complete manual
|
||||
shell: sh
|
||||
run: |
|
||||
set -eu
|
||||
cd manual
|
||||
|
||||
latexmk -pdf -interaction=nonstopmode \
|
||||
-halt-on-error -file-line-error main.tex
|
||||
test -s main.pdf
|
||||
-halt-on-error -file-line-error itManual.tex
|
||||
|
||||
test -s itManual.pdf
|
||||
|
||||
mkdir -p dist
|
||||
cp main.pdf dist/SSW590-DevOps-IT-Manual.pdf
|
||||
cp itManual.pdf dist/SSW590-DevOps-IT-Manual.pdf
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -48,3 +51,4 @@ jobs:
|
||||
path: manual/dist/SSW590-DevOps-IT-Manual.pdf
|
||||
retention-days: 14
|
||||
if-no-files-found: error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user