Skip to content

Commit

Permalink
Remove sed from workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
augusto-herrmann committed Mar 3, 2024
1 parent 2bfb0cc commit 83b4bae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/update_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,10 @@ jobs:
"chmod -R 777 /srv/jekyll && jekyll build --incremental --future"
# Build the lab part of the site using JupyterLite
# the sed command replaces faulty code in JupyterLite that prevents using
# it when installed in the user's home space
# see https://github.com/jupyterlite/jupyterlite/discussions/1136
- name: Build the lab site with JupyterLite
working-directory: jupyterlite
run: |
mkdir -p ../_site/notebooks/
sed -i -e 's/ENV_EXTENSIONS = Path(sys.prefix) \/ SHARE_LABEXTENSIONS/ENV_EXTENSIONS = Path('\/home\/ubuntu\/.local\/share\/jupyter\/labextensions\/')/g' ~/.local/lib/python3.11/site-packages/jupyterlite_core/addons/federated_extensions.py
jupyter lite build --contents notebooks --output-dir ../_site/notebooks
# Ready and upload artifact for deployment
Expand Down

0 comments on commit 83b4bae

Please sign in to comment.