Skip to content
Snippets Groups Projects
Unverified Commit 213fad5a authored by boklm's avatar boklm
Browse files

Bug 24982: add script to help updating the website

This script will create a tarball containing the website and print
commands that can be used to upload it.
parent 0eb1f122
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -e
docsdir=$(pwd)
tmpdir=$(mktemp -d)
make clean
make install-web webdir="$tmpdir"
cd "$tmpdir"
chmod 664 *
tar -cf "$docsdir"/rbm-docs.tar *
cd -
rm -Rf "$tmpdir"
echo "You can now update the web site with:"
echo " ssh staticiforme.torproject.org tar --overwrite -p -C /srv/rbm-master.torproject.org/htdocs -xf - < rbm-docs.tar"
echo " ssh staticiforme.torproject.org static-update-component rbm.torproject.org"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment