Skip to content

update

update #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build site
run: |
rm -rf _build/
jupyter-book build .
cp CNAME _build/html
- name: Deploy to GitHub Pages
run: ghp-import -n -p -f _build/html
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}