Moisson-Rouge/.drone.yml

16 lines
481 B
YAML
Raw Normal View History

2022-06-01 09:41:07 +00:00
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:
2022-06-01 19:25:06 +00:00
- lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no;set dns:order \"inet inet6\"; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/"