view doc/sphinx/update-web-server.sh @ 2606:75cd6e570d11 default tip

Update the web server update script to go to the new gdtk server.
author Peter Jacobs <peterj@mech.uq.edu.au>
date Wed, 20 Jul 2022 08:58:55 +1000
parents 0ab07fc77eef
children
line wrap: on
line source

#! /bin/bash

echo "About to rsync html files to gdtk.zones.eait.uq.edu.au"

echo "A password may have to be supplied for each rsync."
echo "Note that we assume several external directories"
echo "(of theses, etc) are available."

DEST=gdtk:/var/www/htdocs/cfcfd

echo "1. Sphinx-generated HTML docs..."
rsync -av _build/html/ ${DEST}
echo "2. Theses and reports..."
rsync -av ../pdf ${DEST}
echo "3. Theses..."
rsync -av ~/papers/theses ${DEST}
echo "4. Case study GIFs..."
rsync -av ~/papers/drummond_simulation ${DEST}
echo "5. IMOC HTML docs..."
rsync -av ~/cfcfd3/app/imoc/doc/ ${DEST}/imoc/
# echo "6. Doxygen-generated HTML docs..."
# rsync -av ../doxygen/html/ ${DEST}/doxygen/
echo "Done."