Skip to content

Commit

Permalink
another try at jupyterlite
Browse files Browse the repository at this point in the history
  • Loading branch information
danilofreire committed Oct 19, 2024
1 parent 98f3ed8 commit 0a5fe28
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/jupyterlite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy JupyterLite
on:
push:
branches:
- gh-pages # or whatever your default branch is named
- gh-pages

jobs:
build-and-deploy:
Expand All @@ -16,10 +16,22 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
pip install jupyterlite-core
pip install jupyterlite-core jupyterlab libarchive-c jupyter_server jupyterlab_server
- name: Create necessary directories
run: |
mkdir -p dist/jupyter/docs/jupyter
mkdir -p dist/jupyter/docs/jupyter/consoles
mkdir -p dist/jupyter/docs/jupyter/edit
mkdir -p dist/jupyter/docs/jupyter/notebooks
mkdir -p dist/jupyter/docs/jupyter/lab
mkdir -p dist/jupyter/docs/jupyter/repl
mkdir -p dist/jupyter/docs/jupyter/tree
- name: Build JupyterLite
run: |
jupyter lite build --output-dir dist/jupyter
- name: List directory contents
run: |
ls -R dist
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 0a5fe28

Please sign in to comment.