Skip to content

Update signature to include Push in returned task #150

Update signature to include Push in returned task

Update signature to include Push in returned task #150

name: Build and Deploy Documentation
on:
push:
branches:
- master
- release/* # Default release branch
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Install docfx
run: dotnet tool update -g docfx
- name: Build documentation
run: docfx .documentation/docfx.json
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .documentation/_site
token: ${{ secrets.GITHUB_TOKEN }}