Open JohanChungus opened 1 year ago
This happens in https://github.com/stubijs/statuspage/blob/main/.github/workflows/worker-deploy.yml#L36 I guess
This happens in https://github.com/stubijs/statuspage/blob/main/.github/workflows/worker-deploy.yml#L36 I guess
How I fix it?
No idea. I'm new in Shell.
The line export KV_NAMESPACE_ID=$(npx wrangler kv:namespace list | jq '.[] | select(.title=="KV_STATUS_PAGE") .id')
is used to extract KV ID from the output of npx wrangler
. The output of npx wrangler
must had been changed so the script (jq '.[] | select(.title=="KV_STATUS_PAGE") .id'
) could not extract the ID.
Hmm
✘ [ERROR] Unexpected character, expecting string, number, datetime, boolean, inline array or inline table
58
59 /home/runner/work/status/status/packages/status-worker/wrangler.toml:15:46:
60 15 │ kv_namespaces = [{binding="KV_STATUS_PAGE", id=, preview_id=}]
61 ╵ ^
62
63
64 If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
65
66
67Error: Process completed with exit code 1.