kopia lustrzana https://git.rys.io/libre/wypierdalac
Update .gitlab-ci.yml
rodzic
5e2edb2290
commit
912dd1fc23
|
@ -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/
|
||||||
|
|
Ładowanie…
Reference in New Issue