How do I setup environment variables? #282
-
|
I cannot figure out where to set up my environment variables so worktrees get them. I dont see an 'environment variables' field in project settings at all, so my worktrees cannot build. |
Beta Was this translation helpful? Give feedback.
Answered by
morapelker
Apr 7, 2026
Replies: 1 comment
-
|
You can setup a setup script which happens every time a new worktree is created. Normally I put a cp command to copy the .env file to the current directory, run pnpm install where relevant etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
morapelker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can setup a setup script which happens every time a new worktree is created. Normally I put a cp command to copy the .env file to the current directory, run pnpm install where relevant etc.