File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 run : |
3030 # Create necessary directories
3131 mkdir -p _site
32+ mkdir -p common-lisp-jupyter
33+ chmod 777 common-lisp-jupyter
3234
3335 # Execute and convert notebooks one by one using the Common Lisp container
3436 for notebook in *.ipynb; do
4042 -v ${{ github.workspace }}:/workspace \
4143 -w /workspace \
4244 ghcr.io/lisp-stat/cl-jupyter:latest \
43- jupyter nbconvert --execute --to notebook --output "/workspace/executed_$notebook" "$notebook"
45+ bash -c "
46+ # Ensure the directory exists with proper permissions
47+ mkdir -p /workspace/common-lisp-jupyter
48+ chmod 777 /workspace/common-lisp-jupyter
49+
50+ # Execute the notebook
51+ jupyter nbconvert --execute --to notebook --output \"/workspace/executed_$notebook\" \"$notebook\"
52+ "
4453
4554 # Convert the executed notebook to HTML
4655 docker run --rm \
You can’t perform that action at this time.
0 commit comments