From b2021f0a78f17f9d076898b5043f01670616843c Mon Sep 17 00:00:00 2001 From: Vincent Finance Date: Thu, 7 Jul 2022 17:52:20 +0200 Subject: [PATCH] add CI --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f070bd3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +--- +kind: pipeline +type: ssh +name: deploy +server: + host: + from_secret: host + user: + from_secret: user + ssh_key: + from_secret: key +clone: + disable: true +trigger: + branch: + - main +steps: + - name: deploy + commands: + - cd /var/www/git/www-2 + - git pull + - kiln build