diff --git a/scripts/build.sh b/scripts/build.sh index 5202bb1c4..16cf86ff9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,2 +1,2 @@ -#!/usr/bin/bash +#!/usr/bin/env bash dotnet restore && dotnet publish -c release -r ubuntu.16.04-x64 \ No newline at end of file diff --git a/scripts/deploy.sh b/scripts/deploy.sh index a9aa18823..839ce50ea 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env 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 \ No newline at end of file