This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch new-master
in repository https://gitbox.apache.org/repos/asf/activemq-website.git

commit b706ab2937bb48abbd6746e9a004ff44946531b2
Author: Clebert Suconic <clebertsuco...@apache.org>
AuthorDate: Wed Oct 2 16:46:22 2019 -0400

    update build
---
 build.sh | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)

diff --git a/build.sh b/build.sh
index 9794d2d..0c395ce 100755
--- a/build.sh
+++ b/build.sh
@@ -1,24 +1,4 @@
 set -e
-echo "Building ActiveMQ site (output is in ./site-content) ..."
-jekyll build -s ./src/ -d ./site-content
-COMMIT_HASH=`git rev-parse HEAD`
-COMMIT_MESSAGE=`git show -s --format=%s HEAD`
-
-git remote add github-upstream https://github.com/apache/activemq-website.git
-
-echo "Build of ActiveMQ site successful."
-git fetch github-upstream
-git checkout github-upstream/asf-site -B asf-site
-rm -rf content
-mv site-content content
-git add content
-git remote remove github-upstream
-
-echo "Commiting changes to asf-site branch from master branch."
-git commit --author "ActiveMQ Dev <d...@activemq.apache.org>" -m 
"$COMMIT_MESSAGE / built from commit $COMMIT_HASH"
-
-echo "-----------------------------------------------------"
-echo "SITE BUILD SUCCESSFUL. You are now on the asf-site branch."
-echo "Run git push origin asf-site to update the live site."
+jekyll build --incremental -s ./src/ -d ./content
 set +e
 

Reply via email to