mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-12 09:24:51 -05:00
18 lines
429 B
Bash
18 lines
429 B
Bash
#!/bin/sh
|
|
|
|
# Update latest Python dependencies in case they have changed
|
|
cd /project-readonly
|
|
pip install --upgrade -e ".[dev]"
|
|
|
|
# This helps a potential permission issue, but might be removed
|
|
# pending some more investigation of docker host file system
|
|
# permissions in the bind mount
|
|
# npm cache clean --force
|
|
# npm install
|
|
|
|
cd /project
|
|
cp -r /project-readonly/sphinx_rtd_theme .
|
|
|
|
echo "Going to invoke: npm run $@"
|
|
npm run $@
|