Skip to content

Merge pull request #13 from maxnatamo/chore/separate-src-folder #27

Merge pull request #13 from maxnatamo/chore/separate-src-folder

Merge pull request #13 from maxnatamo/chore/separate-src-folder #27

Workflow file for this run

name: Deploy documentation to Pages
on:
push:
branches: ["main"]
# Allows manual deployment
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- run: dotnet tool update -g docfx
- run: docfx Documentation/docfx/docfx.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'Documentation/docfx/_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2