summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/bin/sync15
1 files changed, 15 insertions, 0 deletions
diff --git a/site/bin/sync b/site/bin/sync
index dccc921acb..964c62fac6 100644
--- a/site/bin/sync
+++ b/site/bin/sync
@@ -1,6 +1,10 @@
PATH="$PATH:/usr/local/bin"
export PATH
+##
+## Sync Tuscany web site
+##
+
# Cleanup in case something went wrong from last time
# This was happening frequently with all svn changes
(cd "/www/tuscany.apache.org/"; svn cleanup)
@@ -13,3 +17,14 @@ rsync -r "/www/confluence-exports/TUSCANY/" "/www/tuscany.apache.org/"
# Make sure everything is group writable
chmod -R g+w "/www/tuscany.apache.org/" > /dev/null
+
+
+##
+## Sync Tuscany 2.x documentation
+##
+
+# Install the cwiki exported content
+rsync -r "/www/confluence-exports/TUSCANYxDOCx2x/" "/www/tuscany.apache.org/documentation-2x"
+
+# Make sure everything is group writable
+chmod -R g+w "/www/tuscany.apache.org/documentation-2x" > /dev/null