We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da772e4 commit 72e2244Copy full SHA for 72e2244
amplify.yaml
@@ -13,6 +13,8 @@ applications:
13
# These echo lines DO NOT hardcode secrets; they just write whatever Amplify injects at build time.
14
- echo "MONGO_URI=$MONGO_URI" >> .env
15
- echo "MONGO_URI=$MONGO_URI" >> .env.production
16
+ - echo "MONGO_URI=$MONGO_URI" >> .config.env
17
+ - echo "MONGO_URI=$MONGO_URI" >> .config.env.production
18
# If you have public variables prefixed with NEXT_PUBLIC_, add them similarly:
19
# - echo "NEXT_PUBLIC_API_BASE=$NEXT_PUBLIC_API_BASE" >> .env
20
# Optional: show which env vars resolved (avoid printing secrets—mask length only)
0 commit comments