update publication status #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy CV | |
on: | |
push: | |
branches: main | |
tags: | |
- v* | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Working directory check | |
run: | | |
pwd | |
ls | |
- name: Install Pandoc | |
uses: r-lib/actions/setup-pandoc@v2 | |
- name: Install XeLaTeX | |
run: sudo apt-get install -y texlive-xetex | |
- name: Download lua-filter | |
run: wget https://raw.githubusercontent.com/pandoc-ext/multibib/main/_extensions/multibib/multibib.lua | |
- name: Download mainfont | |
uses: schmiddim/action-wget-unzip@v2 | |
with: | |
url: https://github.com/psb1558/Junicode-font/archive/refs/tags/v1.003.zip | |
destination: . | |
- name: Set Path to mainfont | |
run: sed -i 's/setmainfont \[/&Path, /' config/template.tex | |
- name: Verify dependencies | |
run: | | |
pandoc --version | |
xetex --version | |
ls multibib.lua | |
grep setmainfont config/template.tex | |
ls Junicode* | |
- name: Build | |
run: bash build.sh | |
- name: Check for Resulting PDF | |
run: | | |
ls cornelius-cv.pdf | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
cornelius-cv.pdf |