Merge pull request #722 from errordeveloper/docs-branch-heads

Create `weave/<branch>/head` for latest branch docs

Closes #668.
This commit is contained in:
Matthias Radestock committed 2015-05-22 18:48:14 +01:00
commit 0c01bb758e
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