Files
latex/.gitea/workflows/build-docs.yml
Janis Hutz dc62654e42
Some checks failed
Build docs / build_docs (push) Failing after 7s
[CI] Try another fix
2025-12-22 20:54:45 +01:00

31 lines
981 B
YAML

name: Build docs
on:
push
# push:
# paths:
# - 'docs/**'
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@v2
with:
args: "-latexoption=-file-line-error -latexoption=-interaction=nonstopmode docs/docs.tex"
image: ${{ vars.REGISTRY_NAME }}/latex-build
- name: Upload compiled docs
uses: actions/git-auto-commit-action@v7
with:
commit_message: "[skip ci] Build docs on push"
file_pattern: '*.tex'
commit_user_name: LaTeX compiler [bot]
commit_user_email: actions@janishutz.com