changes to get ftp deploy working from appveyor

This commit is contained in:
TomPallister 2016-10-13 20:40:03 +01:00
parent 7ae35f4ce3
commit 17b24d3da5
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@ results/
.vs/ .vs/
# Uncomment if you have tasks that create the project's static files in wwwroot # Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/ #wwwroot/
site/wwwroot/
# MSTest test Results # MSTest test Results
[Tt]est[Rr]esult*/ [Tt]est[Rr]esult*/

View File

@ -7,6 +7,6 @@ build_script:
test_script: test_script:
- run-tests.bat - run-tests.bat
artifacts: artifacts:
- path: artifacts\**\*.* - path: site\wwwroot\*.*
cache: cache:
- '%USERPROFILE%\.nuget\packages' - '%USERPROFILE%\.nuget\packages'

View File

@ -17,6 +17,6 @@ echo Building Ocelot
dotnet restore src/Ocelot dotnet restore src/Ocelot
dotnet restore src/Ocelot.Library dotnet restore src/Ocelot.Library
dotnet build src/Ocelot dotnet build src/Ocelot
dotnet publish src/Ocelot -o artifacts/Ocelot dotnet publish src/Ocelot -o site/wwwroot