minor tweaks

This commit is contained in:
Collin M. Barrett 2017-04-16 15:40:57 -05:00
parent fb5d777bb0
commit 071e1631ef
2 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash
sudo dotnet restore && sudo dotnet publish -c Release -r ubuntu.16.04-x64
#!/usr/bin/bash
dotnet restore && dotnet publish -c release -r ubuntu.16.04-x64

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#TODO: use ssh keys rather than pw
sudo chmod a+x /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp1.1/ubuntu.16.04-x64/FilterLists.Api.dll
#!/usr/bin/bash
#TODO: use ssh keys rather than pw
chmod a+x /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp1.1/ubuntu.16.04-x64/FilterLists.Api.dll
sshpass -p $FTP_PASSWORD scp -o StrictHostKeyChecking=no -r /home/travis/build/collinbarrett/FilterLists/src/FilterLists.Api/bin/Release/netcoreapp1.1/ubuntu.16.04-x64/* $FTP_USER@$FTP_HOST:$FTP_DIR