File tree Expand file tree Collapse file tree 1 file changed +24
-15
lines changed Expand file tree Collapse file tree 1 file changed +24
-15
lines changed Original file line number Diff line number Diff line change @@ -22,29 +22,38 @@ concurrency:
22
22
cancel-in-progress : false
23
23
24
24
jobs :
25
- # Build job
26
- build :
27
- runs-on : ubuntu-latest
25
+ generate-docs :
26
+
27
+ runs-on : windows-latest
28
+
28
29
steps :
29
- - name : Checkout
30
- uses : actions/checkout@v4
31
- - name : Setup Pages
32
- uses : actions/configure-pages@v5
33
- - name : Build with Jekyll
34
- uses : actions/jekyll-build-pages@v1
35
- with :
36
- source : ./
37
- destination : ./_site
38
- - name : Upload artifact
39
- uses : actions/upload-pages-artifact@v3
30
+ - uses : actions/checkout@v4
31
+
32
+ - name : Setup .NET 8
33
+ uses : actions/setup-dotnet@v4
34
+ with :
35
+ dotnet-version : 8.0.x
36
+
37
+ - name : Update DocFX
38
+ run : dotnet tool update -g docfx
39
+
40
+ - name : DocFX Build
41
+ working-directory : docs
42
+ run : docfx .\docfx.json
43
+ continue-on-error : false
44
+
45
+ - name : Upload artifact
46
+ uses : actions/upload-pages-artifact@v3
47
+ with :
48
+ path : ' docs/_site'
40
49
41
50
# Deployment job
42
51
deploy :
43
52
environment :
44
53
name : github-pages
45
54
url : ${{ steps.deployment.outputs.page_url }}
46
55
runs-on : ubuntu-latest
47
- needs : build
56
+ needs : generate-docs
48
57
steps :
49
58
- name : Deploy to GitHub Pages
50
59
id : deployment
You can’t perform that action at this time.
0 commit comments