From 3abd2f18106c7c6a357622e8264df3cb556a832d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Thu, 30 Apr 2020 01:08:07 +0300 Subject: try different approach for deployment --- .drone.yml | 14 +++++++++----- 1 file 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 -- cgit v1.2.3