authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-08-28 01:20:38+02:00
committergravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-08-28 01:20:38+02:00
log0f27836c218ee84f5fb7d4c47dd93a920663c037
tree15a131164adc4db33ef480e096b88432a09be6dc
parente0103704c5258ef887640df95fa9ccff9c1b331a

ci: fix wrong path when deploying stdlib docs


1 files changed, 2 insertions(+), 2 deletions(-)

ci/srht/update_download_page+2-2
...@@ -101,7 +101,7 @@ CIDIR="$(pwd)"...@@ -101,7 +101,7 @@ CIDIR="$(pwd)"
101101
102cd "$HOME"102cd "$HOME"
103103
104# Upload new stdlib autodocs 104# Upload new stdlib autodocs
105mkdir -p docs_to_upload/documentation/master/std/105mkdir -p docs_to_upload/documentation/master/std/
106gzip -c -9 "$ZIGDIR/docs/std/index.html" > docs_to_upload/documentation/master/std/index.html106gzip -c -9 "$ZIGDIR/docs/std/index.html" > docs_to_upload/documentation/master/std/index.html
107gzip -c -9 "$ZIGDIR/docs/std/data.js" > docs_to_upload/documentation/master/std/data.js107gzip -c -9 "$ZIGDIR/docs/std/data.js" > docs_to_upload/documentation/master/std/data.js
...@@ -110,7 +110,7 @@ gzip -c -9 "$LANGREF" > docs_to_upload/documentation/master/index.html...@@ -110,7 +110,7 @@ gzip -c -9 "$LANGREF" > docs_to_upload/documentation/master/index.html
110$S3CMD put -P --no-mime-magic --recursive --add-header="Content-Encoding:gzip" --add-header="Cache-Control: max-age=0, must-revalidate" "docs_to_upload/" s3://ziglang.org/110$S3CMD put -P --no-mime-magic --recursive --add-header="Content-Encoding:gzip" --add-header="Cache-Control: max-age=0, must-revalidate" "docs_to_upload/" s3://ziglang.org/
111111
112mkdir -p docs_src_to_upload/documentation/master/std/112mkdir -p docs_src_to_upload/documentation/master/std/
113cp -r "$ZIGDIR/docs/src" docs_src_to_upload/documentation/master/std/113cp -r "$ZIGDIR/docs/std/src" docs_src_to_upload/documentation/master/std/
114$S3CMD put -P --no-mime-magic --recursive --add-header:"Content-Type:text/html" --add-header="Cache-Control: max-age=0, must-revalidate" "docs_src_to_upload/" s3://ziglang.org/114$S3CMD put -P --no-mime-magic --recursive --add-header:"Content-Type:text/html" --add-header="Cache-Control: max-age=0, must-revalidate" "docs_src_to_upload/" s3://ziglang.org/
115115
116## Copy without compression:116## Copy without compression: