Create weave/<branch>/head for latest branch docs (close #668)

This commit is contained in:
Ilya Dmitrichenko committed 2015-05-20 16:44:02 +01:00
1 parent 23dd02a05a
commit eb6f9faae7
1 file changed
+1
+1
View File
@@ -32,4 +32,5 @@ if [ -z "${TRAVIS_TAG}" -a ! "${BRANCH}" = "latest_release_doc_updates" ]; then
-h "Content-Type:text/html" \
-h "Cache-Control:private, max-age=0, no-transform" \
cp -a "public-read" - "gs://docs.weave.works/weave/${BRANCH}/index.html"
gsutil -m rsync -r -d -p gs://docs.weave.works/${OUTPUT} gs://docs.weave.works/weave/${BRANCH}/head
fi