diff --git a/.drone.yml b/.drone.yml index 013d766..e7806a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,18 +18,18 @@ steps: # theme: path/themes/THEMENAME/ - name: deploy - image: drillster/drone-rsync - environment: - RSYNC_KEY: - from_secret: deploy_ssh_key - RSYNC_USER: - from_secret: deploy_ssh_user - settings: - hosts: - - mau.ro - source: public/ - target: - from_secret: deploy_dir - when: - branch: - - master + image: drillster/drone-rsync + environment: + RSYNC_KEY: + from_secret: deploy_ssh_key + RSYNC_USER: + from_secret: deploy_ssh_user + settings: + hosts: + - from_secret: deploy_host + source: public/ + target: + from_secret: deploy_dir + when: + branch: + - master