travis: don't use newer cli args of s3cmd

master
Andrew Kelley 2018-10-23 18:48:34 -04:00
parent 08c5f7d059
commit 96923edc53
No known key found for this signature in database
GPG Key ID: 4E7CD66038A4D47C
1 changed files with 1 additions and 1 deletions

View File

@ -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 --no-mime-magic --no-preserve --add-header="Cache-Control: max-age=0, must-revalidate"
s3cmd put -P ../zig-cache/langref.html s3://ziglang.org/documentation/master/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
fi
fi