diff --git a/.drone.yml b/.drone.yml index 6ed2f49..39cedfa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,7 +36,7 @@ steps: - apk add libc6-compat libstdc++ - /bin/hugo -- name: deploy on server +- name: deploy site on server image: drillster/drone-rsync settings: hosts: ["192.168.1.100"] @@ -48,6 +48,25 @@ steps: key: from_secret: RSYNC_SSH_KEY +- name: web CV to PDF + image: python + commands: + - python3 -m pip install weasyprint + - python3 web-to-pdf.py + - ls -la + +# - name: deploy cv on terminal-cv +# image: drillster/drone-rsync +# settings: +# hosts: ["192.168.1.101"] +# target: /workspace/terminal-cv/site/... +# source: ./CV.pdf +# port: 2021 +# user: +# from_secret: RSYNC_USER_STACK +# key: +# from_secret: RSYNC_SSH_KEY_STACK + - name: notification image: appleboy/drone-telegram settings: