Make doc template more compliant with WHATWG spec #2
Workflow file for this run
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: API Docs | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
- 'src/Fornax.Seo/*.fs' | |
- '.github/workflows/fsdocs.yml' | |
- 'README.md' | |
tags: | |
- '**' | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
publish_docs: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: windows-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build docs | |
run: .\build.cmd -e CI=true Docs | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: './site' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |