Skip to content

Merge pull request #2760 from 9xbt/master #367

Merge pull request #2760 from 9xbt/master

Merge pull request #2760 from 9xbt/master #367

Workflow file for this run

name: Build Docs
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Cosmos
uses: actions/[email protected]
with:
repository: CosmosOS/Cosmos
path: Cosmos
- name: Checkout IL2CPU
uses: actions/[email protected]
with:
repository: CosmosOS/IL2CPU
path: IL2CPU
- name: Checkout XSharp
uses: actions/[email protected]
with:
repository: CosmosOS/XSharp
path: XSharp
- name: Checkout Common
uses: actions/[email protected]
with:
repository: CosmosOS/Common
path: Common
- name: Setup dotnet
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
- name: Install DocFX
shell: pwsh
run: choco install docfx
- name: Build Docs
shell: pwsh
run: docfx ./Cosmos/Docs/docfx.json
continue-on-error: false
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_PAGES }}
external_repository: CosmosOS/cosmosos.github.io
publish_branch: master
publish_dir: ./Cosmos/Docs/_site