From 6a5c93766fe1052c4f5b54b3f0ba937299fdf3d3 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 23 Jun 2024 22:11:11 -0700 Subject: [PATCH] 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..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