The CNAME file on the gh-pages branch is used to link the gh-pages
to the gitblit.com domain. So it needs to stay around when updating
the gh-pages branch with new documentation pages.
This is possible since Moxie 0.10.0 with a new `keep` sub-element.
Update the gh-pages branch with the current site\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
- <target name="updateGhPages">\r
+ <target name="updateGhPages" depends="prepare">\r
<!-- Build gh-pages branch -->\r
- <mx:ghpages repositorydir="${basedir}" obliterate="true" />\r
+ <mx:ghpages repositorydir="${basedir}" obliterate="true">\r
+ <keep>\r
+ <file name="CNAME"/>\r
+ </keep>\r
+ </mx:ghpages>\r
</target>\r
\r
\r