File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Web
2
+
3
+ # Your GitHub workflow file under .github/workflows/
4
+ # Trigger the action on push to main
5
+ on :
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11
+ permissions :
12
+ actions : read
13
+ pages : write
14
+ id-token : write
15
+
16
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
18
+ concurrency :
19
+ group : " pages"
20
+ cancel-in-progress : false
21
+
22
+ jobs :
23
+ publish-docs :
24
+ name : Publish
25
+ environment :
26
+ name : Docs
27
+ url : ${{ steps.deployment.outputs.page_url }}
28
+ runs-on : windows-latest
29
+ steps :
30
+ - name : Checkout
31
+ uses : actions/checkout@v3
32
+ - name : Setup .NET
33
+ uses : actions/setup-dotnet@v3
34
+ with :
35
+ dotnet-version : 9.x
36
+
37
+ - run : dotnet tool update -g docfx
38
+ - run : docfx docs/docfx.json
39
+
40
+ - name : Upload artifact
41
+ uses : actions/upload-pages-artifact@v3
42
+ with :
43
+ # Upload entire repository
44
+ path : ' _site'
45
+ - name : Deploy to GitHub Pages
46
+ id : deployment
47
+ uses : actions/deploy-pages@v4
48
+
You can’t perform that action at this time.
0 commit comments