mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
9 lines
283 B
Bash
Executable file
9 lines
283 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir -p docs/_static docs/_build
|
|
sphinx-build -E -b html docs/ docs/_build || exit 1
|
|
if [ "$1" = "publish" ] ; then
|
|
cd docs/_build
|
|
echo "Uploading files..."
|
|
tar czvf - . | ssh flow.openplans.org 'ssh acura.openplans.org "cd /www/pip.openplans.org/; tar xzvf -"'
|
|
fi
|