Skip to content

馃殗馃┕ Fix CI workflows #64

馃殗馃┕ Fix CI workflows

馃殗馃┕ Fix CI workflows #64

Workflow file for this run

name: Docs
on:
push:
branches: main
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install dependencies
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
- name: Build Docs
run: |
set -eux
jlpm
jlpm run docs
- name: Deploy to GitHub Pages
if: success() && github.event_name == 'push' && github.event.ref == 'refs/heads/main'
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}