Skip to content

Add github workflow to compile cv #5

Add github workflow to compile cv

Add github workflow to compile cv #5

Workflow file for this run

name: Compile CV
on:
push:
branches:
- main
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xu-cheng/latex-action@v3
with:
root_file: maxbothe-cv-en.tex
working_directory: src
latexmk_use_xelatex: true
- name: Copy PDF
run: cp src/maxbothe-cv-en.pdf dist/maxbothe-cv.pdf
- name: Publish
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SQUASH_HISTORY: true
SKIP_EMPTY_COMMITS: true