[CI] Add docs auto-build
This commit is contained in:
22
.gitea/workflows/build-docs.yml
Normal file
22
.gitea/workflows/build-docs.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Build docs
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
jobs:
|
||||||
|
build_docs:
|
||||||
|
runs_on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Git repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: Run build
|
||||||
|
use: actions/latex
|
||||||
|
with:
|
||||||
|
args: "-latexoption=-file-line-error -latexoption=-interaction=nonstopmode docs/docs.tex"
|
||||||
|
- name: Upload compiled helpers
|
||||||
|
uses: actions/git-auto-commit-action@v7
|
||||||
|
with:
|
||||||
|
commit_message: "[skip ci] Build helpers on push"
|
||||||
|
file_pattern: '*.tex'
|
||||||
|
commit_user_name: Helpers compiler [bot]
|
||||||
|
commit_user_email: actions@janishutz.com
|
||||||
Reference in New Issue
Block a user