From e76fe6fbb222fb061d6757f109f18ad23cfb83f8 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 10 Jun 2018 10:39:25 +0000 Subject: [PATCH] [ci] split latex font download --- .drone.yml | 8 +++++++- compile.sh | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 037f18c..545e506 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,11 @@ pipeline: + misc: + group: prepare + image: alpine + commands: + - apk add --no-cache make wget + - make fonts + inkscape: group: prepare image: jess/inkscape @@ -25,7 +32,6 @@ pipeline: group: build image: tianon/latex commands: - - apt-get update && apt-get -y install wget - ./compile.sh latex publish: diff --git a/compile.sh b/compile.sh index 9cf08c3..af6b7a7 100755 --- a/compile.sh +++ b/compile.sh @@ -10,8 +10,6 @@ case "$1" in done ;; "latex") - make fonts - for presi in latex/*;do [ -e "$presi/index.tex" ] && make "$presi/index.pdf" || true done