mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
ci: stop directly pushing web page stuff to s3
This is now handled by the www.ziglang.org repo deploy script.
This commit is contained in:
parent
23c6cca24d
commit
ffc8a43dfb
@ -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 --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"
|
cd "$WWWDIR"
|
||||||
cp "$CIDIR/out/index.json" data/releases.json
|
cp "$CIDIR/out/index.json" data/releases.json
|
||||||
mkdir -p content/documentation/master/std
|
mkdir -p content/documentation/master/std
|
||||||
|
Loading…
Reference in New Issue
Block a user