aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-30 01:08:07 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-30 01:08:07 +0300
commit3abd2f18106c7c6a357622e8264df3cb556a832d (patch)
tree1a8dfbf665263afdfb828d3124c228bd720a4a62
parent730a624d16d6c5dcadd681d381003b690b274da7 (diff)
downloadyaroslavps.com-3abd2f18106c7c6a357622e8264df3cb556a832d.tar.gz
yaroslavps.com-3abd2f18106c7c6a357622e8264df3cb556a832d.zip
try different approach for deployment
-rw-r--r--.drone.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.drone.yml b/.drone.yml
index da68292..0f82f7e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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