Add templates

This commit is contained in:
2025-12-23 20:13:31 +01:00
parent cdfb5169c9
commit b490466744
18 changed files with 92 additions and 1 deletions

0
latex/README.md Normal file
View File

30
latex/latex-compile.yml Normal file
View File

@@ -0,0 +1,30 @@
name: Build LaTeX file
on:
push:
paths:
- 'paths/to/build/**'
jobs:
build_docs:
runs_on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v6
- name: Sign into gitea registry
uses: https://github.com/docker/login-action@v3
with:
username: ${{ vars.REGISTRY_USER_USERNAME }}
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
registry: ${{ vars.REGISTRY_BASE_URL }}
- name: Run build
uses: actions/latex-full@main
with:
workdir: relative/path/to/build/dir/or/''
include_helpers: true # Whether or not to include helpers
- name: Upload compiled docs
uses: actions/git-auto-commit-action@v7
with:
commit_message: "[skip ci] Build docs on push"
file_pattern: '*.pdf'
commit_user_name: LaTeX compiler [bot]
commit_user_email: actions@janishutz.com
commit_author: LaTeX compiler [bot] <actions@janishutz.com>