You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My build system is in Jenkins. Need to change .env properties w.r.t. an environment we are deploying code to for Rest Endpoints. During deployment time I search & replace the values.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My build system is in Jenkins. Need to change .env properties w.r.t. an environment we are deploying code to for Rest Endpoints. During deployment time I search & replace the values.
Next.js version in use is 9.2.x
NEXT_PUBLIC_SERVICE_URL=https://staging.aws.ukcld/api/staticData/abc
For production it will be
NEXT_PUBLIC_SERVICE_URL=https://prod.aws.ukcld/api/staticData/abc
After I do it during deployment time, this changed property fails to bind with the application.
The file in use is .env.prodution
What is the way I can fix this property injection?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions