aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-12 17:27:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-01-12 17:27:36 -0700
commitffc8a43dfb6a44f4355693b5b1dae4712e0484d8 (patch)
tree1982fb603d07b53d3a982167eb8dde22649e3cb8
parent23c6cca24d6a0b325a1f718ff13e83afd8e02c41 (diff)
downloadzig-ffc8a43dfb6a44f4355693b5b1dae4712e0484d8.tar.gz
zig-ffc8a43dfb6a44f4355693b5b1dae4712e0484d8.zip
ci: stop directly pushing web page stuff to s3
This is now handled by the www.ziglang.org repo deploy script.
-rwxr-xr-xci/srht/update_download_page8
1 files changed, 0 insertions, 8 deletions
diff --git a/ci/srht/update_download_page b/ci/srht/update_download_page
index 5b9ff2ab60..01fa62b911 100755
--- a/ci/srht/update_download_page
+++ b/ci/srht/update_download_page
@@ -92,14 +92,6 @@ WWWDIR="$(pwd)"
$S3CMD put -P --no-mime-magic --add-header="cache-control: public, max-age=31536000, immutable" "$HOME/$SRC_TARBALL" s3://ziglang.org/builds/
-$S3CMD put -P --no-mime-magic "$LANGREF" s3://ziglang.org/documentation/master/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
-$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/index.html" s3://ziglang.org/documentation/master/std/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
-$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/data.js" s3://ziglang.org/documentation/master/std/data.js --add-header="Cache-Control: max-age=0, must-revalidate"
-$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/main.js" s3://ziglang.org/documentation/master/std/main.js --add-header="Cache-Control: max-age=0, must-revalidate"
-
-$S3CMD put -P --no-mime-magic "$CIDIR/out/index.html" s3://ziglang.org/download/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
-$S3CMD put -P --no-mime-magic "$CIDIR/out/index.json" s3://ziglang.org/download/index.json --add-header="Cache-Control: max-age=0, must-revalidate"
-
cd "$WWWDIR"
cp "$CIDIR/out/index.json" data/releases.json
mkdir -p content/documentation/master/std