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