Skip to content

refactor(start-menu): StartMenuOptions as class with init properties #208

refactor(start-menu): StartMenuOptions as class with init properties

refactor(start-menu): StartMenuOptions as class with init properties #208

Workflow file for this run

name: Documentation
on:
push:
branches: [master, main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Build SharpConsoleUI (generate XML docs)
run: dotnet build SharpConsoleUI/SharpConsoleUI.csproj --configuration Release
- name: Install DocFX
run: dotnet tool install -g docfx
- name: Build DocFX Documentation
run: docfx docs/docfx/docfx.json
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4