hackerspace-blueprint/.travis.yml

23 lines
1005 B
YAML
Raw Normal View History

2018-05-26 22:52:35 +00:00
language: R
2018-07-29 15:42:36 +00:00
addons:
apt:
packages:
- poppler-utils
install: tlmgr install mdframed mweights needspace sourcecodepro sourcesanspro collection-fontsextra pdfjam
2018-07-29 15:38:14 +00:00
script: |
2018-07-29 15:42:36 +00:00
pandoc --verbose pandoc-metadata.yaml README.md [0-9]*.md -o hack-the-hackerspace.pdf --template eisvogel.tex --toc --listings --metadata date="`date +%D`" --include-before-body=include-cover.tex --include-after-body=include-back.tex
2018-07-29 15:38:14 +00:00
numpages=$(pdfinfo hack-the-hackerspace.pdf | awk '/^Pages/ { print $2}')
pdfbook hack-the-hackerspace.pdf 2-$(($numpages-2)) -o hack-the-hackerspace-booklet-body.pdf
2018-05-26 21:00:25 +00:00
deploy:
provider: releases
api_key:
secure: cIRIKuDWejK79Kojh2URkQBmQcKDJtH/MmrzgCySQ7ArjbZ6/cPkS014QbNmUft4GiRGZzIiulfkkvLtdT4UVGVXEw7gTK/V5b6bEci6fst4rDPL/hCDeXcLutOxcOwb7vei38V5XhE+1D2UcFQFNJFkeo60WKWR9ybIQ7pAemo=
2018-07-29 15:38:14 +00:00
file:
- hack-the-hackerspace.pdf
- hack-the-hackerspace-booklet-cover.pdf
- hack-the-hackerspace-booklet-body.pdf
2018-05-26 21:00:25 +00:00
skip_cleanup: true
2018-05-26 22:52:35 +00:00
on:
repo: "0x20/HTH"
if:
tag IS blank