Skip to content

Conversation

@patrick91
Copy link
Collaborator

Summary

  • Adds explicit exclusion of .env files in the deploy command's _should_exclude_entry() function
  • Prevents .env and .env.* files (e.g., .env.local, .env.production) from being uploaded during deployment
  • Adds test cases to verify the exclusion behavior

Test plan

  • Added test cases for .env, .env.local, .env.production, .env.development
  • Added test cases to ensure .envrc and env.py are not excluded
  • All tests pass

@patrick91 patrick91 changed the title 🔒 Exclude .env files from deployment uploads 🐛 Exclude .env files from deployment uploads Jan 15, 2026
@patrick91 patrick91 added the bug Something isn't working label Jan 15, 2026
@patrick91 patrick91 requested a review from buurro January 15, 2026 09:46
@patrick91 patrick91 merged commit f232576 into main Jan 15, 2026
16 checks passed
@patrick91 patrick91 deleted the patrick91/ignore-env-files branch January 15, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants