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