Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
themonarchoftime authored Sep 30, 2023
1 parent e05d149 commit b4b8cff
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
git submodule add
name: Deploy to GitHub Pages

on:
Expand All @@ -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

Expand Down

0 comments on commit b4b8cff

Please sign in to comment.