From d1a62286bf47b9717a2b718a6733d47cda7eaf37 Mon Sep 17 00:00:00 2001 From: Nageshwaran Manikumar Date: Fri, 9 Oct 2026 17:19:44 -0400 Subject: [PATCH] Add automated LaTeX manual build workflow --- .gitea/workflows/manual-build.yml | 50 ++++ manual/README.md | 1 + manual/chapters/chapter1.tex | 15 ++ manual/chapters/chapter2.tex | 17 ++ manual/chapters/chapter3.tex | 33 +++ manual/main.tex | 374 ++++++++++++++++++++++++++++++ 6 files changed, 490 insertions(+) create mode 100644 .gitea/workflows/manual-build.yml create mode 100644 manual/README.md create mode 100644 manual/chapters/chapter1.tex create mode 100644 manual/chapters/chapter2.tex create mode 100644 manual/chapters/chapter3.tex create mode 100644 manual/main.tex diff --git a/.gitea/workflows/manual-build.yml b/.gitea/workflows/manual-build.yml new file mode 100644 index 0000000..003e2d0 --- /dev/null +++ b/.gitea/workflows/manual-build.yml @@ -0,0 +1,50 @@ + +name: Build DevOps IT Manual + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build-manual: + name: Compile LaTeX PDF + runs-on: latex-build + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Generate build metadata + shell: sh + run: | + set -eu + SHORT_SHA="$(printf '%s' "$GITHUB_SHA" | cut -c1-7)" + BUILD_ID="v1.3+build.${GITHUB_RUN_NUMBER}.${SHORT_SHA}" + + cat > manual/build_metadata.tex <