From acfd3e1f0fa2acff37d0fc9a91ce64708c02867f Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sat, 17 Apr 2021 16:49:32 +0200 Subject: [PATCH] ci test --- .drone.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index b0247dc..d6cee9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,13 +27,9 @@ steps: SFTP_PASSWD: from_secret: sftp_passwd commands: - - ls public - - pwd -# - printenv - - echo $SFTP_DESTINATION # - 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 + - lftp -u "my_webapp__3,$SFTP_PASSWD" -p 22 -e "set sftp:auto-confirm yes && cd /www && mirror -R --delete-first public/ /www; quit" sftp://172.16.85.20 #- name: deploy # image: appleboy/drone-scp