Skip to content

Build Stride Community Toolkit Docs - GitHub Pages #26

Build Stride Community Toolkit Docs - GitHub Pages

Build Stride Community Toolkit Docs - GitHub Pages #26

Workflow file for this run

name: Build Stride Community Toolkit Docs - GitHub Pages
on:
# push:
# branches:
# - main
# paths-ignore:
# - 'README.md'
# - 'BuildDocs.ps1'
# - 'wiki/**'
# - '.github/**'
workflow_dispatch:
jobs:
publish-docs:
runs-on: windows-2022
steps:
#- name: Display .NET Core information
# run: dotnet --info
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
- name: Checkout Stride Community Toolkit
uses: actions/checkout@v3
- run: dotnet tool update -g docfx
# - run: dotnet tool install -g docfx --version 2.65.1
- name: Build documentation
run: docfx docfx.json
working-directory: docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site