cv/.drone.yml
kleph 273c91f552
Some checks failed
continuous-integration/drone/push Build is failing
Remove useless yaml lint and add useless markdown lint ;-)
2020-09-15 20:27:54 +02:00

30 lines
748 B
YAML

---
kind: pipeline
name: latex
steps:
- name: markdown lint
image: pipelinecomponents/markdownlint:latest
commands:
- mdl --style all --warnings .
- name: build
image: niccokunzmann/ci-latex
commands:
- pdflatex -interaction=nonstopmode -halt-on-error cv.tex
- name: deploy
image: kroniak/ssh-client
environment:
DEPLOY_USER:
from_secret: deploy_user
DEPLOY_HOST:
from_secret: deploy_host
DEPLOY_KEY:
from_secret: deploy_key
commands:
- echo "deploy $DEPLOY_USER@$DEPLOY_HOST"
- echo "$DEPLOY_KEY" | sed 's/!/\n/g' > deploy_key
- chmod 0600 deploy_key
- cat deploy_key
- scp -i deploy_key -o StrictHostKeyChecking=no cv.pdf $DEPLOY_USER@$DEPLOY_HOST:/srv/http/trucs/cv_laurenti_2020.pdf