From eb6f9faae7243cf5bd52935d8e45c6e01236462b Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 20 May 2015 16:43:11 +0100 Subject: [PATCH] Create `weave//head` for latest branch docs (close #668) --- site/build-and-publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/site/build-and-publish.sh b/site/build-and-publish.sh index 36819b31..31a357a8 100755 --- a/site/build-and-publish.sh +++ b/site/build-and-publish.sh @@ -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