-
Notifications
You must be signed in to change notification settings - Fork 17
stash #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
stash #388
Conversation
Deploying with
|
Status | Name | Latest Commit | Updated (UTC) |
---|---|---|---|
❌ Deployment failed View logs |
astro-tips | 39a134b | Jul 03 2025, 07:48 AM |
// } | ||
// } | ||
env: { | ||
validateSecrets: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even without this setting it errors, but then just when hitting the import. Nevertheless, it should work with this option true
astro.config.mjs
Outdated
BETTER_AUTH_SECRET: envField.string({ | ||
context: "server", | ||
access: "secret", | ||
}), | ||
GITHUB_CLIENT_SECRET: envField.string({ | ||
context: "server", | ||
access: "secret", | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add any value with those names to the .dev.vars
, that's how you configure "secrets" in Cloudflare projects. Not to the .env
file.
3e4acb5
to
39a134b
Compare
GITHUB_CLIENT_ID: envField.string({ | ||
context: "server", | ||
access: "public", | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The public env var is already configured for you in the default place wrangler.jsonc
No description provided.