Sites-Camelia/.drone.yml
Esenjin_Asakha 6f6e952344
All checks were successful
continuous-integration/drone/push Build is passing
Mise à jour de '.drone.yml'
2022-01-08 17:08:46 +00:00

16 lines
488 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: deploy
image: mwienk/docker-lftp
environment:
USERNAME:
from_secret: ftp-esenjin-username
PASSWORD:
from_secret: ftp-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"