Skip to content

Release docs

Release docs #1

Workflow file for this run

name: Release docs
on:
push:
tags:
- '*'
jobs:
build:
strategy:
matrix:
os: [windows-latest]
dotnet: [5.0.100]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup .Net Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
- name: Restore tools
run: dotnet tool restore
- name: Restore dependencies
run: dotnet restore
- name: Run Fornax
run: dotnet fake build -t Docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_public
publish_branch: gh-pages
force_orphan: true