There usually are 2 directories at the same level
The source directory is version-controlled by git, the other is version controlled by svn. While the source directory can have an arbitrary name and location, the site directory has to be called site and it needs to be at the same level as the source directory to enable site deployment.
Assuming that the source directory is available one can create the directory structure by going to the directory that contains the source directory and checking out the distribution and site directories:
$ svn co https://dist.apache.org/repos/dist/release/vxquery dist $ svn co https://svn.apache.org/repos/asf/vxquery/site
Please switch to the release steps and follow their directions.
When pushing changes to the site without a code release, the following git commands will create a patch of only differences within the src/site folder. Please verify the patch before applying it the site
git checkout master git diff site src/site/ > ../site.patch" git checkout site git apply ../site.patch
$ mvn site site:deploy
$ cd ../site $ svn st | awk '/\?/ { print $2 }' | xargs svn add # add all new files $ svn ci -m"updated site" $ cd -