Skip to content

Reorganise files to separate notebooks and python files (#8) #8

Reorganise files to separate notebooks and python files (#8)

Reorganise files to separate notebooks and python files (#8) #8

Workflow file for this run

name: 'publish_book'
on:
push:
branches:
- "main"
jobs:
deploy-gh-pages:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.27.1
environments: doc
- name: Build and publish the book
run: pixi run -e doc build-book
- name: Update the main gh-page website
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/_build/html
commit_message: "[ci skip] ${{ github.event.head_commit.message }}"