Skip to content

Commit

Permalink
Merge pull request CosmosOS#2216 from CosmosOS/docfx-action
Browse files Browse the repository at this point in the history
Update build-docs.yml
  • Loading branch information
charlesbetros authored May 3, 2022
2 parents ec6383b + ea0c5e8 commit 18ea378
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup dotnet
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
- name: Build docs
uses: nikeee/[email protected]
with:
args: ./Docs/docfx.json
- name: Install DocFX
shell: pwsh
run: choco install docfx
- name: Build Docs
shell: pwsh
run: docfx ./Docs/docfx.json
continue-on-error: false
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 18ea378

Please sign in to comment.