tools: Also sync the img and data dirs of the blog
authorWerner Koch <wk@gnupg.org>
Thu, 3 Aug 2017 18:37:20 +0000 (20:37 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 3 Aug 2017 18:37:20 +0000 (20:37 +0200)
tools/build-website.sh

index afb61a9..2f8ceb9 100755 (executable)
@@ -299,6 +299,9 @@ if [ -n "$sync_blog" ]; then
   cd "$sync_blog"
   rsync -rt --links --exclude '*~' --exclude '*.sh' \
         --exclude '*tmp' --exclude '*.org' . ${htdocs_blog}/
+  cd "$root_dir/misc/blog.gnupg.org"
+  rsync -rt --links --exclude '*~' --exclude '*.sh' \
+        --exclude '*tmp' --exclude '*.org' img data  ${htdocs_blog}/
   any_sync=yes
 fi