Update .gitlab-ci.yml

master
Michał Woźniak 2020-10-29 23:42:02 +01:00
rodzic 5e2edb2290
commit 912dd1fc23
1 zmienionych plików z 3 dodań i 6 usunięć

Wyświetl plik

@ -9,12 +9,9 @@ deploy:
# pandoc the markdown # pandoc the markdown
- | - |
for f in *.md; do for f in *.md; do
echo "--- echo -e "---\nheader-includes:\n - \hypersetup{colorlinks=true,\n allbordercolors={0 0 0},\n pdfborderstyle={/S/U/W 1}}\n---" \
header-includes: | cat - "$f" \
- \hypersetup{colorlinks=true, | pandoc -s -o "${f%.md}.pdf";
allbordercolors={0 0 0},
pdfborderstyle={/S/U/W 1}}
---" | cat - "$f" | pandoc -s -o "${f%.md}.pdf";
done done
# rsync stuff to the right output directory # rsync stuff to the right output directory
- rsync -av --exclude=.git --exclude=.gitignore --exclude=README.md --exclude=.gitlab-ci.yml --delete --delete-excluded ./ /srv/websites/$CI_PROJECT_NAME/ - rsync -av --exclude=.git --exclude=.gitignore --exclude=README.md --exclude=.gitlab-ci.yml --delete --delete-excluded ./ /srv/websites/$CI_PROJECT_NAME/