Commits

Ian Bicking committed 86d4fc4 Merge

Automated merge with ssh://hg@bitbucket.org/ianb/pip

Comments (0)

Files changed (1)

 mkdir -p docs/_static docs/_build
 sphinx-build -E -b html docs/ docs/_build || exit 1
 if [ "$CMD" = "publish" ] ; then
-  cd docs/_build
+  cd docs/
   echo "Uploading files..."
-  tar czvf - . | ssh flow.openplans.org 'ssh acura.openplans.org "cd /www/pip.openplans.org/htdocs/; tar xzvf -"'
+  scp -r _build/ root@cloudsilverlining.org:/var/lib/silverlining/writable-roots/bbdocs/pip.openplans.org/
+  ssh root@cloudsilverlining.org 'chown -R www-data:www-data /var/lib/silverlining/writable-roots/bbdocs/'
 fi