From 0ba10b08201c97d7be8613cd685f31443652cdd7 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 25 Oct 2017 17:59:23 -0500 Subject: [PATCH] try removing previous artifacts ref #135 --- scripts/deploy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 30843aefa..f03daec13 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -x -sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'rm -rf /var/www/api.filterlists.com/{*,.*}' +sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'rm -rf '$FTP_DIR'{*,.*}' chmod a+x /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp2.0/ubuntu.16.04-x64/publish/FilterLists.Api.dll sshpass -p $FTP_PASSWORD scp -o StrictHostKeyChecking=no -r /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp2.0/ubuntu.16.04-x64/publish/* $FTP_USER@$FTP_HOST:$FTP_DIR \ No newline at end of file