Access Environment Variable when building pages project

For Workes & Pages, what is the name of the domain?

?

What is the issue or error you’re encountering

I have set the environment variables in the cloudflare dashboard on my pages project and the code is accessing them through process.env.variableName but it is failing to retrieve the variable.

Hi there,

Environment variables not available to the site, they are only available during the build phase of the project.

Take care.

I am having a similar issue. How are the environment variables accesible from astro? how can they be invoked?