Skip to content

Merge pull request #233 from Solidarische-Raumnutzung/feature/exit-bu… #613

Merge pull request #233 from Solidarische-Raumnutzung/feature/exit-bu…

Merge pull request #233 from Solidarische-Raumnutzung/feature/exit-bu… #613

Workflow file for this run

name: LaTeX Build
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
container: ghcr.io/solidarische-raumnutzung/docker-texlive
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
./.github/genstats.sh
cd docs/pflichtenheft
pdflatex main.tex
makeglossaries main
pdflatex main.tex
pdflatex main.tex
cd ../presi_pflichtenheft
pdflatex presentation.tex
biber presentation
pdflatex presentation.tex
cd ../entwurfsheft
wget https://solidarische-raumnutzung.github.io/DocTeX/doctex.jar
java -jar doctex.jar --output=./javadoc ../../src/main/java edu.kit.hci.soli
pdflatex main.tex
makeglossaries main
pdflatex main.tex
pdflatex main.tex
cd ../presi_entwurfsheft
pdflatex presentation.tex
biber presentation
pdflatex presentation.tex
cd ../implementationsbericht
pdflatex main.tex
makeglossaries main
pdflatex main.tex
pdflatex main.tex
cd ../presi_implementierung
pdflatex presentation.tex
biber presentation
pdflatex presentation.tex
cd ../testbericht
pdflatex main.tex
makeglossaries main
pdflatex main.tex
pdflatex main.tex
cd ../presi_qa
pdflatex presentation.tex
biber presentation
pdflatex presentation.tex
cd ../..
wget https://solidarische-raumnutzung.github.io/ClassDiagramGenerator/cdg.jar
java -jar cdg.jar src/main/java edu.kit.hci.soli
mkdir -p pages
mv ./docs/pflichtenheft/main.pdf ./pages/pflichtenheft.pdf
mv ./docs/presi_pflichtenheft/presentation.pdf ./pages/presi_pflichtenheft.pdf
mv ./docs/entwurfsheft/main.pdf ./pages/entwurfsheft.pdf
mv ./docs/presi_entwurfsheft/presentation.pdf ./pages/presi_entwurfsheft.pdf
mv ./docs/implementationsbericht/main.pdf ./pages/implementationsbericht.pdf
mv ./docs/presi_implementierung/presentation.pdf ./pages/presi_implementierung.pdf
mv ./docs/testbericht/main.pdf ./pages/testbericht.pdf
mv ./docs/presi_qa/presentation.pdf ./pages/presi_qa.pdf
mv ./result.png ./pages/classes.png
python3 .github/genindex.py pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'pages'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4