Skip to content

Lower case images directory name for consistency #3

Lower case images directory name for consistency

Lower case images directory name for consistency #3

Workflow file for this run

name: Beamer CI
on:
push:
branches:
- main
paths:
- 'beamerthemeedmaths.sty'
- 'example-presentation.tex'
- 'example-references.bib'
workflow_dispatch:
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: example-presentation.tex
args: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode"
- name: Commit PDF to gh-pages
run: |
mkdir build
mv example-presentation.pdf build/
git fetch --all
git checkout --track origin/gh-pages
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
cp build/example-presentation.pdf .
git add ./example-presentation.pdf
git commit -m "Update presentation PDF"
- name: Push changes to gh-pages
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages