Skip to content

Bumped version to 0.99 #8

Bumped version to 0.99

Bumped version to 0.99 #8

Workflow file for this run

name: Beamer Documentation
on:
push:
branches:
- main
paths:
- 'docs/beamertheme-edmaths-docs.tex'
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:
working_directory: docs/
root_file: beamertheme-edmaths-docs.tex
args: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode"
- name: Commit PDF to gh-pages
run: |
mkdir build
mv docs/beamertheme-edmaths-docs.pdf build/
git fetch --all
git checkout --track origin/gh-pages
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
cp build/beamertheme-edmaths-docs.pdf .
git add ./beamertheme-edmaths-docs.pdf
git commit -m "Update beamertheme-edmaths documentation"
- name: Push changes to gh-pages
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages