Skip to content

Commit ffd3b20

Browse files
committed
set PYTHONPATH properly
1 parent e5659f8 commit ffd3b20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/myst-to-pages.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ jobs:
6060
run: |
6161
source venv/bin/activate
6262
npm install mystmd
63+
- name: Set PYTHONPATH
64+
# This executes in the shell, expands $(pwd),
65+
# and saves it for all following steps.
66+
run: |
67+
echo "PYTHONPATH=$(pwd)/modules" >> $GITHUB_ENV
6368
- name: Build HTML Assets
6469
# working-directory: notebooks/
65-
env:
66-
PYTHONPATH: $(pwd)/modules
6770
run: |
6871
source venv/bin/activate
6972
npx myst build --execute --html

0 commit comments

Comments
 (0)