Ajouter '.drone.yml'

This commit is contained in:
Esenjin 2022-01-05 21:05:38 +01:00
parent efade61ffb
commit 6673b51347

16
.drone.yml Normal file
View File

@ -0,0 +1,16 @@
kind: pipeline
type: docker
name: deploy
steps:
- name: deploy
image: mwienk/docker-lftp
environment:
USERNAME:
from_secret: shelter-esenjin-username
PASSWORD:
from_secret: shelter-esenjin-password
HOST:
from_secret: shelter-host
commands:
- lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd camelia-studio.org; mirror -Rpnevvv --parallel=10 --exclude logs/ --exclude zaap/ --exclude .git/ --exclude .well-known"