Merge pull request #2988 from MEMESCOEP/BIOS-UEFI-Toggle #418
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
name: Build Docs | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Cosmos | |
uses: actions/checkout@v2.4.2 | |
with: | |
repository: CosmosOS/Cosmos | |
path: Cosmos | |
- name: Checkout IL2CPU | |
uses: actions/checkout@v2.4.2 | |
with: | |
repository: CosmosOS/IL2CPU | |
path: IL2CPU | |
- name: Checkout XSharp | |
uses: actions/checkout@v2.4.2 | |
with: | |
repository: CosmosOS/XSharp | |
path: XSharp | |
- name: Checkout Common | |
uses: actions/checkout@v2.4.2 | |
with: | |
repository: CosmosOS/Common | |
path: Common | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v2.0.0 | |
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 |