Skip to content

Update site, add link to JupyterLite #15

Update site, add link to JupyterLite

Update site, add link to JupyterLite #15

Workflow file for this run

name: Update site
on:
push:
branches:
- main
jobs:
update-site:
runs-on: ubuntu-latest
name: Build and deploy site with JupyterLite
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install the dependencies
working-directory: jupyterlite
run: |
python -m pip install -r requirements.txt
- name: Build the JupyterLite site
working-directory: jupyterlite
run: |
mkdir ../public/assets/notebooks/
jupyter lite build --contents notebooks --output-dir ../public/assets/notebooks
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
enable_jekyll: true