From c65b97c0a95887066488bbc9ae670dd8e82a1b0b Mon Sep 17 00:00:00 2001 From: Esenjin_Asakha Date: Sat, 8 Jan 2022 17:35:44 +0000 Subject: [PATCH] Ajouter '.drone.yml' --- .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..3da308f --- /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 -d -c "set cmd:fail-exit yes; set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/v3; mirror -Rpnevvv --exclude logs/ --exclude .git/ --exclude cloud/ --exclude mails/" \ No newline at end of file