Mise à jour de '.drone.yml'
This commit is contained in:
parent
943cc07355
commit
34bbc29eb1
21
.drone.yml
21
.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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user