diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-04-30 01:08:07 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-04-30 01:08:07 +0300 |
commit | 3abd2f18106c7c6a357622e8264df3cb556a832d (patch) | |
tree | 1a8dfbf665263afdfb828d3124c228bd720a4a62 | |
parent | 730a624d16d6c5dcadd681d381003b690b274da7 (diff) | |
download | yaroslavps.com-3abd2f18106c7c6a357622e8264df3cb556a832d.tar.gz yaroslavps.com-3abd2f18106c7c6a357622e8264df3cb556a832d.zip |
try different approach for deployment
-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 |