Skip to content

← All questions

Value in .env.staging is ignored, an old exported variable keeps winning

Asked 8,460 views2 answers

Rotated a credential. projects/demo-shop/.env.staging has the new one:

text
DEMO_SHOP_PASSWORD=<new>

Runs still authenticate with the old value. --explain --show-secrets confirms the old one is in there. Deleting the line from the file changes nothing, which is how I worked out the file is not the source at all.

Is the dotenv layer cached somewhere?

asked by Gio Castellano521 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related