aboutsummaryrefslogtreecommitdiffstats
path: root/deploy-docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy-docs.sh')
-rw-r--r--deploy-docs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy-docs.sh b/deploy-docs.sh
new file mode 100644
index 00000000000..6413b469e6a
--- /dev/null
+++ b/deploy-docs.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+mvn clean javadoc:aggregate -Prelease
+
+tar -cf docs.tar -C target/site/ .
+
+scp -i ~/.ssh/id_rsa-sonar-keypair -C -r docs.tar root@ec2-75-101-133-159.compute-1.amazonaws.com:/tmp
+
+ssh -i ~/.ssh/id_rsa-sonar-keypair root@ec2-75-101-133-159.compute-1.amazonaws.com 'tar -xf /tmp/docs.tar -C /vol/www/sonar.codehaus.org/docs' \ No newline at end of file