File tree Expand file tree Collapse file tree 12 files changed +87
-121
lines changed Expand file tree Collapse file tree 12 files changed +87
-121
lines changed Original file line number Diff line number Diff line change 66/** /packages /
77/** /bin /
88/** /obj /
9- _site
9+ /_site
10+ /api
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 {
44 "src" : [
55 {
6- "files" : " Storage.csproj" ,
7- "exclude" : [
8- " **/bin/**" ,
9- " **/obj/**"
10- ],
11- "src" : " ../Storage"
6+ "src" : " ../Storage" ,
7+ "files" : [
8+ " **/*.csproj"
9+ ]
1210 }
1311 ],
14- "dest" : " api" ,
15- "disableGitFeatures" : false ,
16- "disableDefaultFilter" : false
12+ "dest" : " api"
1713 }
1814 ],
1915 "build" : {
2016 "content" : [
2117 {
2218 "files" : [
23- " api/**.yml" ,
24- " api/index.md"
25- ]
26- },
27- {
28- "files" : [
29- " articles/**.md" ,
30- " articles/**/toc.yml" ,
31- " toc.yml" ,
32- " *.md"
19+ " **/*.{md,yml}"
20+ ],
21+ "exclude" : [
22+ " _site/**"
3323 ]
3424 }
3525 ],
4030 ]
4131 }
4232 ],
43- "overwrite" : [
44- {
45- "files" : [
46- " apidoc/**.md"
47- ],
48- "exclude" : [
49- " obj/**" ,
50- " _site/**"
51- ]
52- }
53- ],
54- "dest" : " _site" ,
55- "globalMetadataFiles" : [],
56- "fileMetadataFiles" : [],
33+ "output" : " _site" ,
5734 "template" : [
58- " default"
35+ " default" ,
36+ " modern"
5937 ],
60- "postProcessors" : [],
61- "markdownEngineName" : " markdig" ,
62- "noLangKeyword" : false ,
63- "keepFileLink" : false ,
64- "cleanupCacheHistory" : false ,
65- "disableGitFeatures" : false
38+ "globalMetadata" : {
39+ "_appName" : " storage-csharp" ,
40+ "_appTitle" : " storage-csharp" ,
41+ "_enableSearch" : true
42+ }
6643 }
6744}
Original file line number Diff line number Diff line change 1- # This is the ** HOMEPAGE** .
2- Refer to [ Markdown] ( http://daringfireball.net/projects/markdown/ ) for how to write markdown files.
3- ## Quick Start Notes:
4- 1 . Add images to the * images* folder if the file is referencing an image.
1+ ---
2+ _layout : landing
3+ ---
4+
5+ # storage-csharp
Original file line number Diff line number Diff line change 1- - name : Articles
2- href : articles/
3- - name : Api Documentation
1+ - name : API
42 href : api/
5- homepage : api/index.md
Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+
13+ env :
14+ SUPABASE_URL : ${{ secrets.SUPABASE_URL }}
15+ SUPABASE_SERVICE_KEY : ${{ secrets.SUPABASE_SERVICE_KEY }}
16+ SUPABASE_PUBLIC_KEY : ${{ secrets.SUPABASE_PUBLIC_KEY }}
17+
18+ steps :
19+ - uses : actions/checkout@v3
20+
21+ - name : Setup .NET
22+ uses : actions/setup-dotnet@v3
23+ with :
24+ dotnet-version : 8.x
25+
26+ - name : Restore dependencies
27+ run : dotnet restore
28+
29+ - name : Build
30+ run : dotnet build --configuration Release --no-restore
31+
32+ - name : Initialize Testing Stack
33+ run : docker-compose up -d
34+
35+ - name : Test
36+ run : dotnet test --no-restore
Original file line number Diff line number Diff line change @@ -10,20 +10,23 @@ jobs:
1010 docs :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v3
1414 with :
15- submodules : " true"
1615 persist-credentials : false
1716
18- - uses : nikeee/docfx-action@v1.0.0
19- name : Build Documentation
17+ - name : Setup .NET
18+ uses : actions/setup-dotnet@v3
2019 with :
21- args : .documentation/docfx.json
20+ dotnet-version : 8.x
21+
22+ - name : Install docfx
23+ run : dotnet tool update -g docfx
24+
25+ - name : Build documentation
26+ run : docfx .documentation/docfx.json
2227
2328 - name : Deploy 🚀
24- uses : JamesIves/github-pages-deploy-action@3.7.1
29+ uses : JamesIves/github-pages-deploy-action@v4
2530 with :
26- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27- BRANCH : gh-pages
28- FOLDER : .documentation/_site # The folder the action should deploy.
29- CLEAN : true # Automatically remove deleted files from the deploy branch
31+ folder : .documentation/_site
32+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments