Update docfx.yml #6
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: docfx | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup docfx | |
run: dotnet tool update -g docfx | |
- name: Install .NET Aspire workload | |
run: dotnet workload install aspire | |
- name: Copy README | |
run: cp README.md "./src/wan24-AutoDiscover Docs/index.md" | |
- name: Build docs | |
run: docfx "./src/wan24-AutoDiscover Docs/docfx.json" -t default,templates/singulinkfx | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@v5 |