6 months ago
I have a monorepo with two next.js apps and a hono back-end, to deploy them i have created 3 services and that run build and start command for each app
- the two next.js apps are working fine they get the env vars as they should
- my hono app is working fine, i have added the env vars i deployed that service at least 8 times
- I deleted that service and redeployed it again but my hono app doesn't get the env vars I defined
- at first i was using dotenv/config package but doesnt work
- i deleted that package and started accessse process.env directly but nothing
2 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
after deleting the service, did you re-added the envs? in theory deleting the service will delete the env as well