Passing env variables when deploying page application with wrangler

Hello,
Is there a way to pass environment variables when deploying with "wrangler pages deploy" ? I tried creating a wrangler.toml and configured the vars there as in Workers docs, but it seemns that it doesn't work.
Was this page helpful?