diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a9ee7e5..5f2f45c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: # Runs on pushes targeting the default branch branches: - main + - mb/evidence env: # `BASE_URL` determines the website is served from, including CSS & JS assets # You may need to change this to `BASE_URL: ''` @@ -46,7 +47,8 @@ jobs: pip install -r binder/requirements.txt - name: Install and configure Jupyter run: | - python -m ipykernel install --user + source venv/bin/activate + python -m ipykernel install --user --name=venv jupyter kernelspec list --json - uses: actions/setup-node@v4 with: @@ -55,8 +57,7 @@ jobs: run: npm install -g mystmd - name: Build HTML Assets run: | - export JUPYTER_PATH=$(python -c "import jupyter_core; print(jupyter_core.paths.jupyter_path()[0])") - mkdir -p $JUPYTER_PATH + source venv/bin/activate myst build --execute --html - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/binder/requirements.txt b/binder/requirements.txt index 469d626..8f0e13e 100644 --- a/binder/requirements.txt +++ b/binder/requirements.txt @@ -4,6 +4,7 @@ plotly Dash dash_bootstrap_components networkx +awscli>=1.32.65 repo2data==2.9.1 chart_studio matplotlib @@ -14,4 +15,5 @@ jupyter scikit-learn ipykernel myst-nb -jupyter-cache \ No newline at end of file +jupyter-cache +pyyaml>=6.0.2