add appveyor, remove unneeded deploy config

This commit is contained in:
Tommy Parnell
2015-03-21 00:13:16 -04:00
parent 8d944e3895
commit 7a4a35ab28
5 changed files with 20 additions and 5 deletions

View File

@@ -1,2 +0,0 @@
[config]
project = src/UntappedWidgetGenerator.Web.csproj

18
appveyor.yml Normal file
View File

@@ -0,0 +1,18 @@
version: 1.0.{build}
before_build:
- nuget restore
build:
publish_wap: true
verbosity: normal
deploy:
- provider: WebDeploy
server: https://untappdwidget.scm.azurewebsites.net:443/msdeploy.axd?site=untappdwidget
website: untappdwidget
username: $untappdwidget
password:
secure: iYU7398jeYGULDTNSN5PPMOQ/qleWIOyah3LAQNa0aWjXhUdtcLuViOlcoqRasNiLiDUppIYnAaTr9QTSnzTNA==
remove_files: true
on:
branch: master
matrix:
fast_finish: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -9,8 +9,8 @@ namespace UntappedWidgetGenerator.Web
{ {
public IndexModule() public IndexModule()
{ {
Get["/"] = x => { return View["Views/Index/Index.cshtml", "tparnell"]; }; Get["/"] = x => View["Views/Index/Index.cshtml", "tparnell"];
Get["/{username}/browse"] = x => { return View["Views/Index/Index.cshtml", (string)x.username]; }; Get["/{username}/browse"] = x => View["Views/Index/Index.cshtml", (string)x.username];
Get["/{username}/html"] = parameters => Get["/{username}/html"] = parameters =>
{ {
var info = new UntappedRepository().Get(parameters.username); var info = new UntappedRepository().Get(parameters.username);

View File

@@ -90,7 +90,6 @@
<Content Include="Content\jquery.UntappedWidget.min.css"> <Content Include="Content\jquery.UntappedWidget.min.css">
<DependentUpon>jquery.UntappedWidget.css</DependentUpon> <DependentUpon>jquery.UntappedWidget.css</DependentUpon>
</Content> </Content>
<Content Include="Content\nancy-logo.png" />
<Content Include="Content\Site.css" /> <Content Include="Content\Site.css" />
<Content Include="fonts\glyphicons-halflings-regular.svg" /> <Content Include="fonts\glyphicons-halflings-regular.svg" />
<Content Include="fonts\glyphicons-halflings-regular.woff2" /> <Content Include="fonts\glyphicons-halflings-regular.woff2" />