Fix serve workflow to correctly install 'jupyter' dependency and update build command for HTML generation

This commit is contained in:
Edgar P. Burkhart 2025-02-09 22:40:57 +01:00
parent cb665904ee
commit 1a992a8174
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -11,9 +11,11 @@ jobs:
- name: Initialize virtual environment
run: /usr/bin/python -m venv .env
- name: Install dependencies
run: ./.env/bin/pip install mystmd jupyterlab jupyterlab_myst ipykernel altair pandas
run: ./.env/bin/pip install mystmd jupyter jupyterlab_myst ipykernel altair pandas
- name: Build static HTML
run: ./.env/bin/myst build --execute --html
run: |
. .env/bin/activate
myst build --execute --html
- name: Copy files
run: |
rm -rf /data/srv/forgejo-runner/cours4.0