From 1eb1c78b39fac5913056c1747e72c1c8271ec51f Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sat, 17 Apr 2021 16:36:25 +0200 Subject: [PATCH] ci test --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4547842..c8121f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,16 @@ steps: url: https://xd0.de/doc/ validate: true +- name: deploy + image: alpine/git + secrets: [ sftp_destination, sftp_passwd ] + commands: + - ls + - pwd +# - sftp $SFTP_DESTINATION <<< $'put -pR public/*' + - apk update && apk add lftp + - lftp -u "my_webapp__3,$SFTP_PASSWD" -p 22 -e "set sftp:auto-confirm yes && cd /www && put /etc/hostname; quit" sftp://172.16.85.20 + #- name: deploy # image: appleboy/drone-scp # settings: