publish site script (#3365)

* update htacces and create new publish site script

* adding publish_site script to makefile.

* adding fully qualified path
diff --git a/.htaccess b/.htaccess
index 6ff83b2..bdcbac5 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1 @@
-Redirect	/index.html
+Redirect	/index.html
diff --git a/website2/website/Makefile b/website2/website/Makefile
index 1465eb0..7c25991 100644
--- a/website2/website/Makefile
+++ b/website2/website/Makefile
@@ -11,3 +11,6 @@
 	@scripts/ 0.0.0
+	@scripts/
diff --git a/website2/website/scripts/ b/website2/website/scripts/
new file mode 100755
index 0000000..575b399
--- /dev/null
+++ b/website2/website/scripts/
@@ -0,0 +1,36 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+ROOT_DIR=$(git rev-parse --show-toplevel)
+ME=`basename $0`
+# push all of the results to asf-site branch
+git checkout asf-site
+git clean -f -d
+git pull origin asf-site
+rm -rf ${ROOT_DIR}/content
+mkdir ${ROOT_DIR}/content
+cp -a $WORK_DIR/* ${ROOT_DIR}/content
+cp -a ${ROOT_DIR}/.htaccess ${ROOT_DIR}/content
+git add ${ROOT_DIR}/content
+git commit -m "git-site-role commit from $ME"
+git push origin asf-site