Running into a weird issue.. even though I have a ...
# orm-help
h
Running into a weird issue.. even though I have a .env.prod present in my root directory, if I run
prisma deploy -e .env.prod
, it does not pick up on the correct environment variable but instead uses the .env file which points to my local server
n
I think you need a
/
in front of the declared env file our prisma deploy command looks like this
Copy code
"deploy-prisma-prod": "prisma deploy --env-file /.env.prod"
h
That made no difference unfortunately 😕 @nilan any ideas?
n
No, but if you provide a reproduction here we can take a closer look 🙂 https://github.com/prismagraphql/prisma
h
Figured this out
this plugin in my zsh was always loading .env
damnit
regardless of me using -e
sorry @nilan
n
got it, no worries 👌