Skip to content

Merge pull request #10 from JaCraig/dependabot/nuget/dependencies-0e2… #12

Merge pull request #10 from JaCraig/dependabot/nuget/dependencies-0e2…

Merge pull request #10 from JaCraig/dependabot/nuget/dependencies-0e2… #12

Workflow file for this run

name: Document Site Publish
on:
push:
branches: [ "master" ]
jobs:
publish-docs:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'SQLHelper.sln'
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- run: dotnet tool update -g docfx
- run: docfx docfx_project/docfx.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docfx_project/_site