diff options
-rw-r--r-- | .drone.yml | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -4,10 +4,15 @@ name: production steps: - name: deployment - image: thibaultmorin/zola - detach: true - commands: - - zola serve -p 8081 + image: drillster/drone-rsync + hosts: [ "108.61.103.146" ] + port: 7822 + user: webuser + exclude: [ ".git*", ".drone.yml" ] + recursive: true + key: + from_secret: SSH_KEY + target: /home/webuser/yaroslavps.com/ trigger: branch: @@ -16,5 +21,4 @@ trigger: - push node: - domain: yaroslavps_com type: docker |