Error: Failed to publish your Function. Got error: Uncaught Error: parameter is required (check serviceDomain and apiKey)

I try to deploy an Astro blog with microCMS.
Source code:
[https://github.com/excelsior091224/new_blog]
But this error occurred every time and failed.

14:15:48.737	Deploying your site to Cloudflare's global network...
14:15:51.811	 Uploading... (7/7)
14:15:51.812	
14:15:51.815	✨ Success! Uploaded 0 files (7 already uploaded) (0.58 sec)
14:15:51.815	
14:15:52.352	✨ Upload complete!
14:15:53.908	Success: Assets published!
14:15:54.662	Error: Failed to publish your Function. Got error: Uncaught Error: parameter is required (check serviceDomain and apiKey)
  at worker.mjs:14:27454 in Do
  at worker.mjs:447:1186

In this error message, it seems can’t read serviceDomain and apiKey which set in blow file.
[https://github.com/excelsior091224/new_blog/blob/main/src/library/microcms.ts]
But I set environment variables in setting.


Any ideas? Thanks.