mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
CI: fix content type of autodocs source listings
This commit is contained in:
parent
368a20a051
commit
77f31ebbbe
@ -118,9 +118,22 @@ $S3CMD put -P --no-mime-magic \
|
|||||||
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
||||||
"$LANGREF" s3://ziglang.org/documentation/master/index.html
|
"$LANGREF" s3://ziglang.org/documentation/master/index.html
|
||||||
|
|
||||||
|
$S3CMD put -P --no-mime-magic \
|
||||||
|
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
||||||
|
"$ZIGDIR/docs/std/index.html" s3://ziglang.org/documentation/master/std/index.html
|
||||||
|
|
||||||
|
$S3CMD put -P --no-mime-magic \
|
||||||
|
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
||||||
|
"$ZIGDIR/docs/std/main.js" s3://ziglang.org/documentation/master/std/main.js
|
||||||
|
|
||||||
|
$S3CMD put -P --no-mime-magic \
|
||||||
|
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
||||||
|
"$ZIGDIR/docs/std/data.js" s3://ziglang.org/documentation/master/std/data.js
|
||||||
|
|
||||||
$S3CMD put -P --no-mime-magic --recursive \
|
$S3CMD put -P --no-mime-magic --recursive \
|
||||||
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
--add-header="Cache-Control: max-age=0, must-revalidate" \
|
||||||
"$ZIGDIR/docs/std/" s3://ziglang.org/documentation/master/std/
|
--add-header="Content-Type: text/html" \
|
||||||
|
"$ZIGDIR/docs/std/src/" s3://ziglang.org/documentation/master/std/src/
|
||||||
|
|
||||||
$S3CMD put -P --no-mime-magic \
|
$S3CMD put -P --no-mime-magic \
|
||||||
--add-header="cache-control: public, max-age=31536000, immutable" \
|
--add-header="cache-control: public, max-age=31536000, immutable" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user