Skip to content

Docs

Docs #13

Workflow file for this run

name: Docs
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
-
name: Prepare - Checkout Code
uses: actions/checkout@v4
-
name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
-
name: Prepare - Build Source
run: |
dotnet build src/Rqlite.Client/Rqlite.Client.csproj \
--configuration Debug \
--framework net9.0
-
name: A - Build Documentation
uses: bfren/docfx-action@v1
with:
args: docs/docfx.json
-
name: B - Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site