aboutsummaryrefslogtreecommitdiffstats
path: root/deploy-docs.sh
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
commitaeadc1f9129274949daaa57738c7c4550bdfbc7b (patch)
tree08dadf5ef7474fc41d1d48f74648f1ba8b55f34d /deploy-docs.sh
downloadsonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.tar.gz
sonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.zip
SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console
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