Skip to content

Commit 45501de

Browse files
committed
chore: fix doc site
1 parent bdb0f18 commit 45501de

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/doc-site.yml

+20-19
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,32 @@ permissions:
1717
concurrency:
1818
group: "pages"
1919
cancel-in-progress: false
20-
20+
2121
jobs:
2222
publish-docs:
2323
environment:
2424
name: github-pages
2525
url: ${{ steps.deployment.outputs.page_url }}
2626
runs-on: ubuntu-latest
2727
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v3
30-
- name: Dotnet Setup
31-
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # pinning V4
32-
with:
33-
dotnet-version: 8.x
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
- name: Dotnet Setup
31+
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # pinning V4
32+
with:
33+
dotnet-version: 8.x
34+
35+
- run: dotnet tool update -g docfx --version 2.74.0
36+
- run: docfx docs/docfx.json
3437

35-
- run: dotnet tool update -g docfx --version 2.74.0
36-
- run: docfx docs/docfx.json
38+
- name: Setup Pages
39+
uses: actions/configure-pages@v5
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
# Upload entire repository
44+
path: "docs/_site"
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4
3748

38-
- name: Setup Pages
39-
uses: actions/configure-pages@v3
40-
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v2
42-
with:
43-
# Upload entire repository
44-
path: 'docs/_site'
45-
- name: Deploy to GitHub Pages
46-
id: deployment
47-
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)