| ... | ... | @@ -100,6 +100,15 @@ cd "$SRCTARBALLDIR/ci/srht" |
| 100 | 100 | CIDIR="$(pwd)" |
| 101 | 101 | |
| 102 | 102 | cd "$HOME" |
| 103 | |
| 104 | # Upload new stdlib autodocs |
| 105 | mkdir -p docs_to_upload/documentation/master/std/ |
| 106 | cp "$ZIGDIR/docs/std/index.html" docs_to_upload/documentation/master/std/index.html |
| 107 | cp "$ZIGDIR/docs/std/data.js" docs_to_upload/documentation/master/std/data.js |
| 108 | cp "$ZIGDIR/docs/std/main.js" docs_to_upload/documentation/master/std/main.js |
| 109 | cp "$LANGREF" docs_to_upload/documentation/master/index.html |
| 110 | $S3CMD put -P --no-mime-magic --recursive --add-header="Cache-Control: max-age=0, must-revalidate" "docs_to_upload/" s3://ziglang.org/ |
| 111 | |
| 103 | 112 | git clone --depth 1 git@github.com:ziglang/www.ziglang.org.git |
| 104 | 113 | cd www.ziglang.org |
| 105 | 114 | WWWDIR="$(pwd)" |
| ... | ... | @@ -108,12 +117,6 @@ $S3CMD put -P --no-mime-magic --add-header="cache-control: public, max-age=31536 |
| 108 | 117 | |
| 109 | 118 | cd "$WWWDIR" |
| 110 | 119 | cp "$CIDIR/out/index.json" data/releases.json |
| 111 | | mkdir -p content/documentation/master/std |
| 112 | | cp "$LANGREF" content/documentation/master/index.html |
| 113 | | cp "$ZIGDIR/docs/std/index.html" content/documentation/master/std/index.html |
| 114 | | cp "$ZIGDIR/docs/std/data.js" content/documentation/master/std/data.js |
| 115 | | cp "$ZIGDIR/docs/std/main.js" content/documentation/master/std/main.js |
| 116 | 120 | git add data/releases.json |
| 117 | | git add content/ |
| 118 | | git commit -m "CI: update releases and docs" |
| 121 | git commit -m "CI: update releases" |
| 119 | 122 | git push origin master |