Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

stash #388

wants to merge 1 commit into from

Conversation

alexanderniebuhr
Copy link
Member

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Jul 3, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
astro-tips 39a134b Jul 03 2025, 07:48 AM

// }
// }
env: {
validateSecrets: true,
Copy link
Member Author

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
Comment on lines 97 to 108
BETTER_AUTH_SECRET: envField.string({
context: "server",
access: "secret",
}),
GITHUB_CLIENT_SECRET: envField.string({
context: "server",
access: "secret",
})
Copy link
Member Author

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.

Comment on lines +105 to +108
GITHUB_CLIENT_ID: envField.string({
context: "server",
access: "public",
})
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant