Skip to content
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

feat: support passing --env-file flag to functions deploy command. #2995

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

laktek
Copy link
Contributor

@laktek laktek commented Dec 24, 2024

What kind of change does this PR introduce?

Add the option to pass an env file via the --env-flag option to the functions deploy command. It will fallback to use the default env file set in supabase/functions/.env if no explicit flag is provided.

Currently, the only useful env variable is NPM_CONFIG_REGISTRY, which can override the default NPM registry URL used for downloading dependencies. There may be other configuration options via env vars in future.

@laktek laktek requested a review from a team as a code owner December 24, 2024 04:55
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