Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit a218b5e

Browse files
authored
chore: update GitHub Actions workflows and unify doc generation (#9)
* Create main.yml * chore: Rename GitHub workflow file and update .NET setup Moved .github/workflows/main.yml to .github/workflows/generate-docs.yml and added .NET 8 setup step for documentation generation. * chore: Update docs generation workflow and standardize README filenames - Update .NET version from 8 to 9 in GitHub Actions workflow - Change docfx action from CaseyHofland/docfx-unitypackage to Bli-AIk/docfx-unitypackage - Rename readme.md and its meta file to uppercase README.md for consistency * chore: Update GitHub Actions workflow to use fixed version of docfx-unitypackage action
1 parent 5c2bd8e commit a218b5e

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 9
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: '9.0'
25+
26+
27+
- name: Build
28+
uses: Bli-AIk/docfx-unitypackage@v1.0.0
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Deploy
33+
uses: peaceiris/actions-gh-pages@v3
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_branch: gh-pages
37+
publish_dir: _site
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)