[CI] Add
This commit is contained in:
18
.gitea/workflows/build-helpers.yml
Normal file
18
.gitea/workflows/build-helpers.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Build helpers
|
||||||
|
on:
|
||||||
|
push
|
||||||
|
jobs:
|
||||||
|
build_docs:
|
||||||
|
runs_on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Git repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: Run build
|
||||||
|
run: build.sh
|
||||||
|
- name: Upload PDF file
|
||||||
|
uses: stefanzweifel/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
|
||||||
23
.gitea/workflows/compile-docs.yml
Normal file
23
.gitea/workflows/compile-docs.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
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: Compile docs document
|
||||||
|
uses: xu-cheng/latex-action@v4
|
||||||
|
with:
|
||||||
|
root_file: docs/docs.tex
|
||||||
|
working_directory: docs/
|
||||||
|
- name: Upload PDF file
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
|
with:
|
||||||
|
commit_message: "[skip ci] Compile DOCS on push"
|
||||||
|
file_pattern: '*.pdf'
|
||||||
|
commit_user_name: LaTeX compiler [bot]
|
||||||
|
commit_user_email: actions@janishutz.com
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,6 @@
|
|||||||
# ---> TeX
|
# ---> TeX
|
||||||
|
# Ignore PDF (will be autocreated by action)
|
||||||
|
*.pdf
|
||||||
## Core latex/pdflatex auxiliary files:
|
## Core latex/pdflatex auxiliary files:
|
||||||
*.aux
|
*.aux
|
||||||
*.lof
|
*.lof
|
||||||
|
|||||||
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
Reference in New Issue
Block a user