You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ariatosca.apache.org by ar...@apache.org on 2017/06/22 13:52:27 UTC

incubator-ariatosca-website git commit: Adding site build script build_site.sh

Repository: incubator-ariatosca-website
Updated Branches:
  refs/heads/master 4c88acc62 -> 406ad090a


Adding site build script build_site.sh


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/commit/406ad090
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/tree/406ad090
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/diff/406ad090

Branch: refs/heads/master
Commit: 406ad090ae4890535536c594abe6ec339cf41e43
Parents: 4c88acc
Author: arthur <rt...@gmail.com>
Authored: Thu Jun 22 16:52:18 2017 +0300
Committer: arthur <rt...@gmail.com>
Committed: Thu Jun 22 16:52:18 2017 +0300

----------------------------------------------------------------------
 build_site.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/406ad090/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
new file mode 100755
index 0000000..70f2e86
--- /dev/null
+++ b/build_site.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+WORKDIR=/tmp/incubator-ariatosca-site
+rm -rf $WORKDIR
+mkdir -p $WORKDIR
+bundle exec jekyll build --destination $WORKDIR $WORKDIR
+git checkout asf-site
+git clean -f -d
+git pull origin asf-site
+rm -rf *
+cp -a $WORKDIR/* .
+git add .
+git commit -m "Automatic Site Publish by Buildbot"
+git push origin asf-site