diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9a8ac5bc3..ba9748559 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash for file in /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp1.1/* do - curl -T ${file} sftp://$FTP_HOST$FTP_DIR${file} --user $FTP_USER:$FTP_PASSWORD -done \ No newline at end of file + if [ "$file" != "appsettings.Production.json" ] && [ "$file" != "appsettings.Development.json" ] + then + echo "Uploading $f" + curl -T ${file} ftp://$FTP_HOST$FTP_DIR${file} --user $FTP_USER:$FTP_PASSWORD +done