Skip to content

Commit 360e43f

Browse files
Build fixes (#58)
* Refactor data loading * Refactor data loading * Reconfigure for jupyter execution * Fix req * Fix req * Fix req * Fix req * Fix req * Fix req
1 parent 84670a8 commit 360e43f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
# Runs on pushes targeting the default branch
55
branches:
66
- main
7+
- mb/evidence
78
env:
89
# `BASE_URL` determines the website is served from, including CSS & JS assets
910
# You may need to change this to `BASE_URL: ''`
@@ -46,7 +47,8 @@ jobs:
4647
pip install -r binder/requirements.txt
4748
- name: Install and configure Jupyter
4849
run: |
49-
python -m ipykernel install --user
50+
source venv/bin/activate
51+
python -m ipykernel install --user --name=venv
5052
jupyter kernelspec list --json
5153
- uses: actions/setup-node@v4
5254
with:
@@ -55,8 +57,7 @@ jobs:
5557
run: npm install -g mystmd
5658
- name: Build HTML Assets
5759
run: |
58-
export JUPYTER_PATH=$(python -c "import jupyter_core; print(jupyter_core.paths.jupyter_path()[0])")
59-
mkdir -p $JUPYTER_PATH
60+
source venv/bin/activate
6061
myst build --execute --html
6162
- name: Upload artifact
6263
uses: actions/upload-pages-artifact@v3

binder/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plotly
44
Dash
55
dash_bootstrap_components
66
networkx
7+
awscli>=1.32.65
78
repo2data==2.9.1
89
chart_studio
910
matplotlib
@@ -14,4 +15,5 @@ jupyter
1415
scikit-learn
1516
ipykernel
1617
myst-nb
17-
jupyter-cache
18+
jupyter-cache
19+
pyyaml>=6.0.2

0 commit comments

Comments
 (0)