Generate pointer to latest revision

This commit is contained in:
Ilya Dmitrichenko committed 2015-04-27 17:47:28 +01:00
1 parent 83c2bcd418
commit 81ff18565f
1 file changed
+6
+6
View File
@@ -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 "<meta http-equiv=\"refresh\" content=\"0; url=http://docs.weave.works/${OUTPUT}\" />" \
| 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"