ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arthurbere...@apache.org
Subject incubator-ariatosca-website git commit: Adding site build script build_site.sh
Date Thu, 22 Jun 2017 13:52:27 GMT
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 <rtpro1@gmail.com>
Authored: Thu Jun 22 16:52:18 2017 +0300
Committer: arthur <rtpro1@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


Mime
View raw message