-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from dlmelendez/rel/2.0
net9 updates
- Loading branch information
Showing
22 changed files
with
145 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# ElCamino.DocFx.WebAppRefresh | ||
[DocFx](https://dotnet.github.io/docfx/index.html) build middleware that allows you to setup a .net core web app project and adds a file watcher to your content files. When you change a content file, such as markdown, css, etc, the middleware automatically starts a docFx build in the background regenerating the target html files. | ||
|
||
[![NuGet Badge](https://buildstats.info/nuget/ElCamino.DocFx.WebAppRefresh)](https://www.nuget.org/packages/ElCamino.DocFx.WebAppRefresh/) | ||
[![NuGet Badge](https://img.shields.io/nuget/v/ElCamino.DocFx.WebAppRefresh)](https://www.nuget.org/packages/ElCamino.DocFx.WebAppRefresh/) | ||
|
||
Project site https://elcamino.cloud/projects/docs/docfxwebapprefresh/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
|
||
trigger: | ||
- firebase-demo | ||
|
||
pool: | ||
vmImage: 'windows-2019' | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '18.x' | ||
displayName: 'Install Node.js' | ||
|
||
- task: CmdLine@2 | ||
inputs: | ||
script: 'npm install -g firebase-tools' | ||
workingDirectory: '$(Agent.ToolsDirectory)' | ||
displayName: 'install firebase tools' | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: 'build' | ||
projects: '**/ElCamino.DocFx.WebAppRefresh.Sample.sln' | ||
arguments: '-c $(BuildConfiguration)' | ||
displayName: 'build web project' | ||
|
||
- task: CmdLine@2 | ||
inputs: | ||
script: 'firebase deploy --token "$(FIREBASE_TOKEN)" -m "$(Build.BuildNumber)"' | ||
workingDirectory: '$(System.DefaultWorkingDirectory)\\sample\\ElCamino.DocFx.WebAppRefresh.Sample\\' | ||
displayName: 'firebase publish -m "$(Build.BuildNumber)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
|
||
|
||
trigger: | ||
- firebase-demo | ||
- master | ||
|
||
pool: | ||
vmImage: 'windows-2019' | ||
vmImage: 'ubuntu-latest' | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
versionSpec: '18.x' | ||
displayName: 'Install Node.js' | ||
|
||
- task: CmdLine@2 | ||
- task: UseDotNet@2 | ||
displayName: 'Use .Net Core sdk 8.x' | ||
inputs: | ||
script: 'npm install -g firebase-tools' | ||
workingDirectory: '$(Agent.ToolsDirectory)' | ||
displayName: 'install firebase tools' | ||
version: 8.x | ||
|
||
- task: UseDotNet@2 | ||
displayName: 'Use .Net Core sdk 9.x' | ||
inputs: | ||
version: 9.x | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: 'build' | ||
projects: '**/ElCamino.DocFx.WebAppRefresh.Sample.sln' | ||
projects: '**/ElCamino.DocFx.WebAppRefresh.sln' | ||
arguments: '-c $(BuildConfiguration)' | ||
displayName: 'build web project' | ||
displayName: 'build projects' | ||
|
||
- task: CmdLine@2 | ||
- task: CopyFiles@1 | ||
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)' | ||
inputs: | ||
script: 'firebase deploy --token "$(FIREBASE_TOKEN)" -m "$(Build.BuildNumber)"' | ||
workingDirectory: '$(System.DefaultWorkingDirectory)\\sample\\ElCamino.DocFx.WebAppRefresh.Sample\\' | ||
displayName: 'firebase publish -m "$(Build.BuildNumber)"' | ||
Contents: | | ||
**/*.dll | ||
**/*.nupkg | ||
**/*.snupkg | ||
**/*.zip | ||
**/publish/** | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: 'Publish Artifact: drop' |
14 changes: 7 additions & 7 deletions
14
...e/ElCamino.DocFx.WebAppRefresh.Sample.sln → ...c/ElCamino.DocFx.WebAppRefresh.Sample.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
sample/src/ElCamino.DocFx.WebAppRefresh.Sample/.config/dotnet-tools.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"docfx": { | ||
"version": "2.78.2", | ||
"commands": [ | ||
"docfx" | ||
], | ||
"rollForward": false | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...amino.DocFx.WebAppRefresh.Sample/index.md → ...amino.DocFx.WebAppRefresh.Sample/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This is the **HOMEPAGE**. | ||
Refer to [Markdown](http://daringfireball.net/projects/markdown/) for how to write markdown files. | ||
## Quick Start Notes: | ||
1. Add images to the *images* folder if the file is referencing an image. | ||
1. Add new images to the *images* folder if the file is referencing an image. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.