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 docs site again
Date Wed, 06 Sep 2017 18:47:24 GMT
Repository: incubator-ariatosca-website
Updated Branches:
  refs/heads/master 539d5b55a -> dcbb7d2d4


Adding docs site again


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/dcbb7d2d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/tree/dcbb7d2d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/diff/dcbb7d2d

Branch: refs/heads/master
Commit: dcbb7d2d438ca2a98e4edfb824ad9fe47fbafbfe
Parents: 539d5b5
Author: arthur <rtpro1@gmail.com>
Authored: Wed Sep 6 21:47:03 2017 +0300
Committer: arthur <rtpro1@gmail.com>
Committed: Wed Sep 6 21:47:03 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/dcbb7d2d/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
index ce449f0..d98f6d8 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -11,6 +11,19 @@ export PATH=${GEM_HOME}/bin:$PATH
 bundle install --path ${GEM_HOME}
 bundle
 bundle exec jekyll build --destination $WORKDIR
+
+# Set env for docs
+ARIAVERSION=0.1.1
+DISTPATH=https://dist.apache.org/repos/dist/dev/incubator/ariatosca/$ARIAVERSION-incubating/sdist/apache-ariatosca-$ARIAVERSION.tar.gz
+DISTFILE=apache-ariatosca-$ARIAVERSION.tar.gz
+
+# Copy docs into _site
+wget -P $WORKDIR $DISTPATH
+tar -C $WORKDIR -xzf $WORKDIR/$DISTFILE apache-ariatosca-$ARIAVERSION/docs
+mkdir -p $WORKDIR/_site/docs
+mv $WORKDIR/apache-ariatosca-$ARIAVERSION/docs $WORKDIR/_site/
+rm -f $WORKDIR/$DISTFILE
+
 git checkout asf-site
 git clean -f -d
 git pull origin asf-site


Mime
View raw message