Skip to content

update

update #18

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Compile LaTeX document 🔧 # Build cv.pdf
uses: xu-cheng/latex-action@v2
with:
root_file: cv.tex
latexmk_use_xelatex: true
- name: Build directory 🔧 # Prepare build directory with its contents
run: make deploy
- name: Deploy 🚀 # Deploy to pages
uses: JamesIves/[email protected]
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: true # Automatically remove deleted files from the deploy branch