From 08c5f7d0594999ee5757c2935c8305ee528da344 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 23 Oct 2018 17:06:37 -0400 Subject: [PATCH] travis: add missing http headers for docs --- ci/travis_linux_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/travis_linux_script b/ci/travis_linux_script index 2dfa74f57e..df8b7d33d6 100755 --- a/ci/travis_linux_script +++ b/ci/travis_linux_script @@ -21,6 +21,6 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then touch empty s3cmd put -P empty s3://ziglang.org/builds/zig-linux-x86_64-$TRAVIS_BRANCH.tar.xz --add-header="Cache-Control: max-age=0, must-revalidate" --add-header=x-amz-website-redirect-location:/builds/$(ls $TRAVIS_BUILD_DIR/artifacts) if [ "${TRAVIS_BRANCH}" = "master" ]; then - s3cmd put -P ../zig-cache/langref.html s3://ziglang.org/documentation/master/index.html + s3cmd put -P ../zig-cache/langref.html s3://ziglang.org/documentation/master/index.html --no-mime-magic --no-preserve --add-header="Cache-Control: max-age=0, must-revalidate" fi fi