diff --git a/.gitea/workflows/build-helpers.yml b/.gitea/workflows/build-helpers.yml new file mode 100644 index 0000000..4d86921 --- /dev/null +++ b/.gitea/workflows/build-helpers.yml @@ -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 diff --git a/.gitea/workflows/compile-docs.yml b/.gitea/workflows/compile-docs.yml new file mode 100644 index 0000000..db30b5a --- /dev/null +++ b/.gitea/workflows/compile-docs.yml @@ -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 diff --git a/.gitignore b/.gitignore index 747d42e..f9c6ed1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ # ---> TeX +# Ignore PDF (will be autocreated by action) +*.pdf ## Core latex/pdflatex auxiliary files: *.aux *.lof diff --git a/docs/docs.pdf b/docs/docs.pdf deleted file mode 100644 index fcda1a7..0000000 Binary files a/docs/docs.pdf and /dev/null differ