Skip to content

Add github workflow to compile cv #11

Add github workflow to compile cv

Add github workflow to compile cv #11

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_lualatex: true
- name: Copy PDF
run: |
ls -R
mkdir -p dist
cp src/maxbothe-cv-en.pdf dist/maxbothe-cv.pdf
ls -R
- 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