summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index d6c3b01f..193aeb6b 100644
--- a/build.xml
+++ b/build.xml
@@ -722,9 +722,13 @@
Update the gh-pages branch with the current site
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
- <target name="updateGhPages">
+ <target name="updateGhPages" depends="prepare">
<!-- Build gh-pages branch -->
- <mx:ghpages repositorydir="${basedir}" obliterate="true" />
+ <mx:ghpages repositorydir="${basedir}" obliterate="true">
+ <keep>
+ <file name="CNAME"/>
+ </keep>
+ </mx:ghpages>
</target>