-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad4d1e6
commit cfe560e
Showing
4 changed files
with
110 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and Deploy JupyterLite | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
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: | | ||
cp README.md notebooks | ||
jupyter lite build --contents notebooks --output-dir jupyterlite/dist | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./jupyterlite/dist | ||
|
||
deploy: | ||
needs: build | ||
if: github.ref == 'refs/heads/main' | ||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }}/jupyterlite | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Update site | ||
name: Update main site | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"jupyter-lite-schema-version": 0, | ||
"jupyter-config-data": { | ||
"disabledExtensions": [ | ||
"@jupyterlab/drawio-extension", | ||
"jupyterlab-kernel-spy", | ||
"jupyterlab-tour" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Core modules (mandatory) | ||
jupyterlite-core==0.2.3 | ||
jupyterlab~=4.0.11 | ||
notebook~=7.0.7 | ||
|
||
|
||
# Python kernel (optional) | ||
jupyterlite-pyodide-kernel==0.2.3 | ||
|
||
# JavaScript kernel (optional) | ||
jupyterlite-javascript-kernel==0.2.3 | ||
|
||
# Language support (optional) | ||
jupyterlab-language-pack-fr-FR | ||
jupyterlab-language-pack-zh-CN | ||
|
||
# SQLite kernel (optional) | ||
jupyterlite-xeus-sqlite==0.2.1 | ||
# P5 kernel (optional) | ||
jupyterlite-p5-kernel==0.1.0 | ||
# Lua kernel (optional) | ||
jupyterlite-xeus-lua==0.3.1 | ||
|
||
# JupyterLab: Fasta file renderer (optional) | ||
jupyterlab-fasta>=3.3.0,<4 | ||
# JupyterLab: Geojson file renderer (optional) | ||
jupyterlab-geojson>=3.4.0,<4 | ||
# JupyterLab: guided tour (optional) | ||
# TODO: re-enable after https://github.com/jupyterlab-contrib/jupyterlab-tour/issues/82 | ||
# jupyterlab-tour | ||
# JupyterLab: dark theme | ||
jupyterlab-night | ||
# JupyterLab: Miami nights theme (optional) | ||
jupyterlab_miami_nights | ||
|
||
# Python: ipywidget library for Jupyter notebooks (optional) | ||
ipywidgets>=8.1.1,<9 | ||
# Python: ipyevents library for Jupyter notebooks (optional) | ||
ipyevents>=2.0.1 | ||
# Python: interative Matplotlib library for Jupyter notebooks (optional) | ||
ipympl>=0.8.2 | ||
# Python: ipycanvas library for Jupyter notebooks (optional) | ||
ipycanvas>=0.9.1 | ||
# Python: ipyleaflet library for Jupyter notebooks (optional) | ||
ipyleaflet | ||
|
||
# Python: plotting libraries (optional) | ||
plotly>=5,<6 | ||
bqplot | ||
|
||
# Frictionless data (data packages, table schemas, etc.) | ||
frictionless>=5,<6 |