-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e05d149
commit b4b8cff
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
git submodule add | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
|
@@ -14,13 +13,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Install DocFX | ||
- run: dotnet tool update -g docfx | ||
- name: Build API Docs | ||
- run: docfx metadata --outputFormat markdown ./src/docs | ||
- name: Move API docs to API docs folder | ||
- run: mv ./src/docs/api/*.md ./website/docs/api | ||
- name: Build website | ||
run: yarn build | ||
|
||
|