mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
9e9c768e1a
commit
07e6c9c86c
3 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
dist: trusty
|
||||
sudo: false
|
||||
language: csharp
|
||||
mono: none
|
||||
solution: FilterLists.sln
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
dotnet restore
|
||||
dotnet publish -c release -r ubuntu.16.04-x64
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'cd '$FTP_DIR' && rm -rf ./{*,.*}'
|
||||
sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'rm -rf /var/www/api.filterlists.com/{*,.*}'
|
||||
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
|
||||
Loading…
Reference in a new issue