Skip to content

feat(docs): Add procedure for DACS SW database ingestion #179

feat(docs): Add procedure for DACS SW database ingestion

feat(docs): Add procedure for DACS SW database ingestion #179

Workflow file for this run

name: Build LaTeX document
on: [push, pull_request]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Compile all LaTeX documents
run: |
projects=("control-station-installation" "template" "database-ingestion")
for project in "${projects[@]}"; do
working_directory="src/dacs-sw/$project"
root_file="main.tex"
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/$working_directory texlive/texlive:latest latexmk -pdf -interaction=nonstopmode $root_file
done
- name: Rename files and move to single release folder
run: |
mkdir --parents release
mv src/dacs-sw/control-station-installation/main.pdf release/dacs-sw-control-station-installation.pdf
mv src/dacs-sw/template/main.pdf release/dacs-sw-template.pdf
mv src/dacs-sw/database-ingestion/main.pdf release/dacs-sw-database-ingestion.pdf
- name: Upload PDF files
uses: actions/upload-artifact@v4
with:
name: artifacts
path: release/*