From 4e4904aabf3612c756cd6172cfe397d1c74012d6 Mon Sep 17 00:00:00 2001 From: Ewen Date: Thu, 3 Feb 2022 20:51:02 +0100 Subject: [PATCH] updated drone.yml --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index fe0395c..285ca83 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,11 +33,12 @@ steps: host: {from_secret: SCP_HOSTNAME} port: {from_secret: SCP_PORT} username: {from_secret: SCP_USERNAME} - password: {from_secret: SCP_PASSWORD} + #password: {from_secret: SCP_PASSWORD} + key: {from_secret: SCP_KEY} source: public/ strip_components: 1 - #target: {from_secret: SCP_TARGET_DIRECTORY} - target: /srv/apps/blog/data/www/public + target: {from_secret: SCP_TARGET_DIRECTORY} + #target: /srv/apps/blog/data/www/public rm: true - name: rereveille_toi @@ -46,7 +47,8 @@ steps: host: {from_secret: SCP_HOSTNAME} port: {from_secret: SCP_PORT} username: {from_secret: SCP_USERNAME} - password: {from_secret: SCP_PASSWORD} + #password: {from_secret: SCP_PASSWORD} + key: {from_secret: SCP_KEY} script: #- {from_secret: SSH_COMMAND} - docker-compose -f /srv/apps/blog/docker-compose.yml restart