Fix serve workflow to correctly install 'jupyter' dependency and update build command for HTML generation
This commit is contained in:
parent
cb665904ee
commit
1a992a8174
1 changed files with 4 additions and 2 deletions
|
@ -11,9 +11,11 @@ jobs:
|
||||||
- name: Initialize virtual environment
|
- name: Initialize virtual environment
|
||||||
run: /usr/bin/python -m venv .env
|
run: /usr/bin/python -m venv .env
|
||||||
- name: Install dependencies
|
- 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
|
- name: Build static HTML
|
||||||
run: ./.env/bin/myst build --execute --html
|
run: |
|
||||||
|
. .env/bin/activate
|
||||||
|
myst build --execute --html
|
||||||
- name: Copy files
|
- name: Copy files
|
||||||
run: |
|
run: |
|
||||||
rm -rf /data/srv/forgejo-runner/cours4.0
|
rm -rf /data/srv/forgejo-runner/cours4.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue