From aa179938cbb4ec25f6b593a93f6677a813c079e9 Mon Sep 17 00:00:00 2001 From: creme Date: Wed, 20 May 2020 14:38:42 +0200 Subject: [PATCH] add .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..a01b3b1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +--- +kind: pipeline +type: ssh +name: deploy + +server: + host: + from_secret: host + user: + from_secret: username + ssh_key: + from_secret: ssh_key + +clone: + disable: true + +trigger: + branch: + - master + +steps: + - name: deploy + commands: + - cd /var/www/docs/help + - sudo -Hu www-data git pull origin master + - sudo -Hu www-data mkdocs build