Skip to content

Add GitHub Action to deploy Jupyter Lite on GitHub Pages - #48

Open
rgaiacs wants to merge 6 commits into
v0.1from
wasm
Open

Add GitHub Action to deploy Jupyter Lite on GitHub Pages#48
rgaiacs wants to merge 6 commits into
v0.1from
wasm

Conversation

@rgaiacs

@rgaiacs rgaiacs commented Aug 17, 2026

Copy link
Copy Markdown

This is a draft. It requires conversation with @chainsawriot.

@rgaiacs rgaiacs self-assigned this Aug 17, 2026
@rgaiacs
rgaiacs marked this pull request as draft August 17, 2026 10:22
@rgaiacs
rgaiacs force-pushed the wasm branch 5 times, most recently from 21a7d0d to f0d38e6 Compare August 17, 2026 13:01
@rgaiacs

rgaiacs commented Aug 17, 2026

Copy link
Copy Markdown
Author

This is ready for review.

Manual inspection

First download https://github.com/gesistsa/sweater/actions/runs/32034554429/artifacts/9290176459 as github-pages.zip.

cd $(mktemp -d)
unzip /path/to/github-pages.zip
tar -xf artifact.tar
python3 -m http.server

Using a private tab, open http://0.0.0.0:8000/.

You will see

image

You can open any of the Jupyter Notebooks. For example, SemAxis.ipynb.

image

And you can execute the cells. After execute all the cells, you will see

image

Manual build

  1. Install mamba
  2. Create a new mamba environment based on the file .github/build-environment.yml
  3. Build the Jupyter Lite environment by running jupyter lite build --contents gh-pages --contents tests/testdata --output-dir dist. The R dependencies are defined in the environment.yaml file.

To preview the manual build, start a local web server by running $(cd dist && python3 -m http.server).

Topics for consideration before merge

  • Should we copy the text to the Jupyter Notebook files
  • Should we store the execution output in the Jupyter Notebook files for when they are preview on GitHub

Minor changes before merge

  • rename file SemAxis.ipynb to sem-axis.ipynb

@rgaiacs
rgaiacs marked this pull request as ready for review August 17, 2026 13:38
@rgaiacs
rgaiacs requested a review from chainsawriot August 17, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant