Add the current blog.gnupg.org site.
[gnupg-doc.git] / misc / blog.gnupg.org / upload
1 #!/bin/sh
2
3 set -e
4
5 if [ "$(pwd  | awk -F/ '{print $NF}')" != "blog.gnupg.org" ]; then
6   echo "upload: not invoked from the blog.gnupg.org directory" >&2;
7   exit 1
8 fi
9
10 rsync -vr --exclude '*~' --exclude upload . playfair.gnupg.org:/var/www/git/blog.gnupg.org/htdocs/
11
12 #eof