Skip to content

[MISC] sanitise all build & make files #11

[MISC] sanitise all build & make files

[MISC] sanitise all build & make files #11

Workflow file for this run

name: Build CV for istvnurbn.me
on:
push:
tags:
- "v*-*-*" # Should be tagged like vYYYY-MM-DD
workflow_dispatch: # Enable manual call of this action
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: ✨ Compile CV
uses: xu-cheng/latex-action@v3
with:
root_file: |
istvan_urban_cv_clean_short.tex
istvan_urban_cv_clean_tldr.tex
args: -output-directory=compiled
latexmk_use_xelatex: true
continue_on_error: true
texlive_version: 2022
pre_compile: mkdir -p compiled
post_compile: find compiled -type f ! -iname "*.pdf" -delete
- name: 🌍 Push to istvanurban.me
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'compiled'
destination-github-username: 'istvnurbn'
destination-repository-name: 'istvnurbn.github.io'
target-branch: 'main'
target-directory: 'content/cv'