Moisson-Rouge/.drone.yml
RyujiDanma 638ed07a22
All checks were successful
continuous-integration/drone/push Build is passing
Only allow deploy on master
2022-06-07 18:18:27 +00:00

19 lines
512 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;set dns:order \"inet inet6\"; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/"
when:
branch:
- master