Merge pull request #642 from errordeveloper/post-docs-move

Fixes post #612
This commit is contained in:
Paul Bellamy committed 2015-05-11 17:02:35 +01:00
commit 8f1f6741e3
1 file changed
+2 -2
+2 -2
View File
@@ -22,11 +22,11 @@ export BRANCH COMMIT OUTPUT
bundle install --path=.bundle
bundle exec jekyll build --verbose
gsutil -m cp -z html,css -a public-read -R _site "gs://docs.weave.works/${OUTPUT}"
gsutil -m rsync -d _site "gs://docs.weave.works/${OUTPUT}"
echo "Published at http://docs.weave.works/${OUTPUT}"
if [ -z "${TRAVIS_TAG}" ]; then
if [ -z "${TRAVIS_TAG}" -a ! "${BRANCH}" = "latest_release_doc_updates" ]; then
echo "<meta http-equiv=\"refresh\" content=\"0; url=http://docs.weave.works/${OUTPUT}\" />" \
| gsutil \
-h "Content-Type:text/html" \