about summary refs log tree commit diff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..be5d01c
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,21 @@
+---
+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: hello
+      commands:
+          - cd /var/www/hmm.st
+          - sudo -Hu www-data git pull origin master