Skip to content

Update documentation with dependencies & fix Runner #13

Update documentation with dependencies & fix Runner

Update documentation with dependencies & fix Runner #13

Workflow file for this run

name: build and deploy docs
on:
push:
branches: ['main']
paths:
- 'docs/**'
jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Restore tools
run: dotnet tool restore
#- name: setup-conda
# uses: s-weigand/setup-conda@v1.1.1
#- name: install nbconvert
# run: conda install nbconvert -y
- name: make script executable
run: chmod u+x build.sh
- name: Build docs
working-directory: ./
run: ./build.sh builddocs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: ./docs/docfx_project/_site/ # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch