mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
tweak deploy.sh
This commit is contained in:
parent
d3803f8766
commit
e61336bfcc
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue