From 9e8f828b8d24cbd2f48039acb21e4de3d874fe51 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Tue, 19 Jul 2022 13:38:01 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20Dr=C3=B4ne=20pour=20CI/CD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7854258 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,19 @@ +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/natsuki; mirror -Rpnevvv --parallel=10 --exclude .git/" + when: + branch: + - master \ No newline at end of file