summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..cc716f6
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,22 @@
+kind: pipeline
+type: docker
+name: deploy
+
+steps:
+ - name: ssh
+ image: appleboy/drone-ssh
+ settings:
+ host: levi.simponic.xyz
+ username: root
+ key:
+ from_secret: SSH_KEY
+ port: 22
+ command_timeout: 2m
+ script:
+ - cd /var/www/html/simponic.xyz && git pull
+
+trigger:
+ branch:
+ - main
+ event:
+ - push