From 50f5016a07f2763bff8440ec38844afc8ac6eb3c Mon Sep 17 00:00:00 2001 From: Esenjin Date: Fri, 16 Sep 2022 19:17:25 +0200 Subject: [PATCH] synchronisation avec drone --- drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 drone.yml diff --git a/drone.yml b/drone.yml new file mode 100644 index 0000000..2fa5486 --- /dev/null +++ b/drone.yml @@ -0,0 +1,16 @@ +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 concepts.esenjin.xyz/teumbleur/v3; mirror -Rpnevvv --parallel=10 --exclude .git/" \ No newline at end of file