| ... | @@ -118,9 +118,22 @@ $S3CMD put -P --no-mime-magic \ | ... | @@ -118,9 +118,22 @@ $S3CMD put -P --no-mime-magic \ |
| 118 | --add-header="Cache-Control: max-age=0, must-revalidate" \ | 118 | --add-header="Cache-Control: max-age=0, must-revalidate" \ |
| 119 | "$LANGREF" s3://ziglang.org/documentation/master/index.html | 119 | "$LANGREF" s3://ziglang.org/documentation/master/index.html |
| 120 | | 120 | |
| | 121 | $S3CMD put -P --no-mime-magic \ |
| | 122 | --add-header="Cache-Control: max-age=0, must-revalidate" \ |
| | 123 | "$ZIGDIR/docs/std/index.html" s3://ziglang.org/documentation/master/std/index.html |
| | 124 | |
| | 125 | $S3CMD put -P --no-mime-magic \ |
| | 126 | --add-header="Cache-Control: max-age=0, must-revalidate" \ |
| | 127 | "$ZIGDIR/docs/std/main.js" s3://ziglang.org/documentation/master/std/main.js |
| | 128 | |
| | 129 | $S3CMD put -P --no-mime-magic \ |
| | 130 | --add-header="Cache-Control: max-age=0, must-revalidate" \ |
| | 131 | "$ZIGDIR/docs/std/data.js" s3://ziglang.org/documentation/master/std/data.js |
| | 132 | |
| 121 | $S3CMD put -P --no-mime-magic --recursive \ | 133 | $S3CMD put -P --no-mime-magic --recursive \ |
| 122 | --add-header="Cache-Control: max-age=0, must-revalidate" \ | 134 | --add-header="Cache-Control: max-age=0, must-revalidate" \ |
| 123 | "$ZIGDIR/docs/std/" s3://ziglang.org/documentation/master/std/ | 135 | --add-header="Content-Type: text/html" \ |
| | 136 | "$ZIGDIR/docs/std/src/" s3://ziglang.org/documentation/master/std/src/ |
| 124 | | 137 | |
| 125 | $S3CMD put -P --no-mime-magic \ | 138 | $S3CMD put -P --no-mime-magic \ |
| 126 | --add-header="cache-control: public, max-age=31536000, immutable" \ | 139 | --add-header="cache-control: public, max-age=31536000, immutable" \ |