diff --git a/site/build-and-publish.sh b/site/build-and-publish.sh index 81867e7c..76ccd2a3 100755 --- a/site/build-and-publish.sh +++ b/site/build-and-publish.sh @@ -16,3 +16,9 @@ bundle exec jekyll build --verbose gsutil -m cp -z html,css -a public-read -R _site "gs://docs.weave.works/${OUTPUT}" echo "Published at http://docs.weave.works/${OUTPUT}" + +echo "" \ + | gsutil \ + -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"