mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
commit
64b2166e46
22
.github/workflows/latex.yml
vendored
Normal file
22
.github/workflows/latex.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Build LaTeX document
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
jobs:
|
||||||
|
build_latex:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
steps:
|
||||||
|
- name: Compile LaTeX document
|
||||||
|
uses: xu-cheng/latex-action@v3
|
||||||
|
with:
|
||||||
|
root_file: Mafia-the-Game.tex
|
||||||
|
latexmk_use_xelatex: true
|
||||||
|
- name: Push changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
file_pattern: "*.pdf"
|
||||||
|
commit_message: "chore(build): auto-generate pdf"
|
||||||
|
commit_user_name: "github-actions[bot]"
|
||||||
|
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||||
|
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||||
Loading…
Reference in New Issue
Block a user