diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..725340c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +kind: pipeline +name: production +when: + event: [ push ] + branch: [ main ] + +clone: + git: + image: plugins/git + pull: true + +steps: + - name: deploy + image: drillster/drone-rsync + settings: + hosts: + from_secret: deploy_host + target: /var/www/press.fanstuff.garden + source: /* + user: + from_secret: deploy_user + key: + from_secret: deploy_key + when: + branch: main + delete: true