Skip to content
Snippets Groups Projects
Commit 22aa47b0 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

fix/cleanup CI for slides

parent fbaa1018
No related branches found
No related tags found
No related merge requests found
Pipeline #
site/
*.swp
slides_pdf/
......@@ -2,9 +2,6 @@ stages:
- slides
- site
pages:
image: python:3-alpine
stage: site
......@@ -27,9 +24,7 @@ slides:
- apt update && apt install -y git
- git clone https://github.com/matze/mtheme.git
- cd mtheme && make sty && make install sty
- latexmk -pdf slides/*.tex
- mkdir slides_pdf
- mv slides/*.pdf slides_pdf
- ./build_slides.sh
artifacts:
paths:
- slides_pdf
......
#! /bin/bash
set -e
# compile the slides
pushd slides
latexmk -pdf *.tex
popd
# Move things to the right place
rm -r slides_pdf/
mkdir -p slides_pdf/
mv slides/*.pdf slides_pdf/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment