Sites-Camelia/.drone.yml

16 lines
488 B
YAML
Raw Normal View History

2022-01-05 20:05:38 +00:00
kind: pipeline
type: docker
name: deploy
steps:
- name: deploy
image: mwienk/docker-lftp
environment:
USERNAME:
2022-01-08 17:08:23 +00:00
from_secret: ftp-esenjin-username
2022-01-05 20:05:38 +00:00
PASSWORD:
2022-01-08 17:08:46 +00:00
from_secret: ftp-esenjin-password
2022-01-05 20:05:38 +00:00
HOST:
from_secret: shelter-host
commands:
2022-01-06 18:19:32 +00:00
- 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"