| ... | @@ -12,7 +12,7 @@ typos | ... | @@ -12,7 +12,7 @@ typos |
| 12 | dprint check | 12 | dprint check |
| 13 | ./build test package --summary all | 13 | ./build test package --summary all |
| 14 | | 14 | |
| 15 | if [ -n "$UPLOAD_RELEASE_ARTIFACTS" ]; then | 15 | if [ -n "$BUILDKITE" ]; then |
| 16 | pushd zig-out/package | 16 | pushd zig-out/package |
| 17 | zip compiler-$commit.zip * | 17 | zip compiler-$commit.zip * |
| 18 | buildkite-agent artifact upload compiler-$commit.zip | 18 | buildkite-agent artifact upload compiler-$commit.zip |
| ... | @@ -21,5 +21,8 @@ if [ -n "$UPLOAD_RELEASE_ARTIFACTS" ]; then | ... | @@ -21,5 +21,8 @@ if [ -n "$UPLOAD_RELEASE_ARTIFACTS" ]; then |
| 21 | rm -fr zig-out/site | 21 | rm -fr zig-out/site |
| 22 | mkdir zig-out/site | 22 | mkdir zig-out/site |
| 23 | cp zig-out/package/README.html zig-out/site/index.html | 23 | cp zig-out/package/README.html zig-out/site/index.html |
| 24 | npx wrangler pages deploy zig-out/site --commit-hash "$commit" --no-bundle --project-name language-manual | 24 | |
| | 25 | CLOUDFLARE_API_KEY=$(buildkite-agent secret get CLOUDFLARE_API_KEY) \ |
| | 26 | CLOUDFLARE_ACCOUNT_ID=$(buildkite-agent secret get CLOUDFLARE_ACCOUNT_ID) \ |
| | 27 | npx wrangler pages deploy zig-out/site --commit-hash "$commit" --no-bundle --project-name language-manual |
| 25 | fi | 28 | fi |