From 5487c753ab56c31221598cba92dd9643cbcf0857 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 10 Jun 2024 13:51:56 +0200 Subject: [PATCH] fix(ci): ajout .drone.yml --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fca7ba7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +kind: pipeline +name: production +when: + event: [ push ] + branch: [ main ] + +clone: + git: + image: plugins/git + pull: true + +steps: + - name: deploy + image: drillster/drone-rsync + settings: + hosts: + from_secret: deploy_host + target: /var/www/quarante-douze.net/bl-themes/quarante-douze/ + source: '*' + user: + from_secret: deploy_user + key: + from_secret: deploy_key + when: + branch: main + delete: true