authorgravatar for me@paperdave.netdave caruso <me@paperdave.net> 2024-09-11 22:47:03-07:00
committergravatar for me@paperdave.netdave caruso <me@paperdave.net> 2024-09-11 22:47:03-07:00
log3cd58b85e072ea148d9a51bef65e48492a07eef2
treec084def13cfc1315e07d76e3807d50347827a066
parent67ff7ec925c6a5ddf589fd3c3da5df022d6eae1d
signature Commit is signed but in an unrecognized format.

chore: fix deployment script


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

ci+5-2
......@@ -12,7 +12,7 @@ typos
1212dprint check
1313./build test package --summary all
1414
15if [ -n "$UPLOAD_RELEASE_ARTIFACTS" ]; then
15if [ -n "$BUILDKITE" ]; then
1616 pushd zig-out/package
1717 zip compiler-$commit.zip *
1818 buildkite-agent artifact upload compiler-$commit.zip
......@@ -21,5 +21,8 @@ if [ -n "$UPLOAD_RELEASE_ARTIFACTS" ]; then
2121 rm -fr zig-out/site
2222 mkdir zig-out/site
2323 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
2528fi