Mise à jour de '.drone.yml'

This commit is contained in:
gregandev 2023-06-15 17:19:51 +02:00
parent 943cc07355
commit 34bbc29eb1

View File

@ -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: