Skip to content

chore: update to api 3.17.0 and core 0.24.0 (#254) #150

chore: update to api 3.17.0 and core 0.24.0 (#254)

chore: update to api 3.17.0 and core 0.24.0 (#254) #150

name: Build Documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Get dotnet sdk
run: |
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y dotnet-sdk-7.0
- name: Get docfx
run: |
dotnet tool update -g docfx
- name: Build docs
run: |
docfx Documentation/docfx.json
- name: Deploy docfx documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Documentation/_site