Monitor your websites, showcase status including daily history, and get Slack/Telegram/Discord notification whenever your website status changes. Using Cloudflare Workers, CRON Triggers, and KV storage.
When looking at the deploy action log file, several error messages are given:
Error: Your configuration file is missing the field ["kv-namespace id"] which is required to publish your worker!
Your configuration file is missing compatibility_date, so a distant past date is assumed. To get the latest possibly-breaking bug fixes, add this line to your wrangler.toml:
compatibility_date = "2021-09-22"
For more information about compatibility dates, see: https://developers.cloudflare.com/workers/platform/compatibility-dates
Upon debugging, it appears that Cloudflare is responding to the wrangler kv:namespace list on Line 31 of /.github/workflows/deploy.yaml with that notice about the missing compatibility date in front of the kv-namespace id json which is causing jq to fail parsing.
The solution for me was to add compatibility_date = "2021-07-23" to /wrangler.yaml since that was the last date of update to the main branch. After that, deployment happened automatically and without error.
When looking at the deploy action log file, several error messages are given:
Upon debugging, it appears that Cloudflare is responding to the
wrangler kv:namespace list
on Line 31 of/.github/workflows/deploy.yaml
with that notice about the missing compatibility date in front of the kv-namespace id json which is causing jq to fail parsing.The solution for me was to add
compatibility_date = "2021-07-23"
to/wrangler.yaml
since that was the last date of update to the main branch. After that, deployment happened automatically and without error.I have created a pull request for this issue: #65