kind: pipeline type: docker name: production steps: - name: deployment image: drillster/drone-rsync settings: hosts: [ "108.61.103.146" ] port: 7822 user: webuser exclude: [ ".git*", ".drone.yml" ] delete: true recursive: true key: from_secret: SSH_KEY target: /home/webuser/yaroslavps.com/ script: - cd ~/yaroslavps.com - zola build --output-dir ~/www/yaroslavps.com trigger: branch: - master event: - push node: domain: yaroslavps_com type: docker