Skip to content

Update README.md

Update README.md #16

Workflow file for this run

name: LaTeX build
on:
push:
branches-ignore:
- '/pdflatex'
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: paper.tex
- name: Commit to orphan branch
run: |
git checkout --orphan pdflatex
git rm -rf .
git add paper.pdf
git -c user.name='GitHub Action' -c user.email='[email protected]' commit -m "Built paper"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: pdflatex
force: true