Skip to content

fix: inject env vars even when unlinked #244

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

Merged
merged 2 commits into from
May 30, 2025
Merged

Conversation

serhalp
Copy link
Member

@serhalp serhalp commented May 30, 2025

Just like in Netlify CLI, it's just the fetching of env vars for the site via the Netlify API that we want to skip when we aren't linked to a site. The rest (Netlify defaults, netlify.toml envs, etc.) should still be injected.

I'll come back and add a test later.

@serhalp serhalp marked this pull request as ready for review May 30, 2025 17:56
@serhalp serhalp requested a review from a team as a code owner May 30, 2025 17:56
@serhalp serhalp merged commit b19d790 into main May 30, 2025
7 checks passed
@serhalp serhalp deleted the fix/always-inject-env-vars branch May 30, 2025 18:33
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.

2 participants