Skip to content

test

test #7

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: |
cheatsheat.tex
main.tex
latexmk_shell_escape: true
latexmk_use_xelatex: true
- name: Move PDF
run: |
mkdir build
cp main.pdf build/template.pdf
- name: Release
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
CLEAN: false # Automatically remove deleted files from the deploy branch