We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f39c3ea commit b9fe1dcCopy full SHA for b9fe1dc
.github/workflows/generate-docs.yml
@@ -0,0 +1,37 @@
1
+name: docfx-unitypackage
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build-and-deploy:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
+ with:
19
+ submodules: true
20
21
+ - name: Setup .NET 8
22
+ uses: actions/setup-dotnet@v4
23
24
+ dotnet-version: '8.0'
25
26
27
+ - name: Build
28
+ uses: CaseyHofland/docfx-unitypackage@v1
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
32
+ - name: Deploy
33
+ uses: peaceiris/actions-gh-pages@v3
34
35
36
+ publish_branch: gh-pages
37
+ publish_dir: _site
0 commit comments