Skip to content

Deploy Web

Deploy Web #1

Workflow file for this run

name: Deploy Web
on:
release:
types: ["published"]
env:
BASE_URL: /${{ github.event.repository.name }}
jobs:
publish-web:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build the book
run: |
jupyter-book build .
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "_build/html"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4