add appveyor, remove unneeded deploy config
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
[config]
|
|
||||||
project = src/UntappedWidgetGenerator.Web.csproj
|
|
||||||
18
appveyor.yml
Normal file
18
appveyor.yml
Normal 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 |
@@ -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);
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user