Commits

Ian Bicking  committed 8dd7663

fix doc upload

  • Participants
  • Parent commits 78581bc

Comments (0)

Files changed (1)

File bin/regen-docs

 #done
 sphinx-build -E -b html docs/ docs/_build || exit 1
 if [ "$1" = "publish" ] ; then
-  cd docs/
+  cd docs/_build/
   echo "Uploading files..."
-  scp -r _build/ root@cloudsilverlining.org:/var/lib/silverlining/writable-roots/bbdocs/virtualenv.openplans.org/
+  scp -r * root@cloudsilverlining.org:/var/lib/silverlining/writable-roots/bbdocs/virtualenv.openplans.org/
   ssh root@cloudsilverlining.org 'chown -R www-data:www-data /var/lib/silverlining/writable-roots/bbdocs/'
 fi