Browse Source
- Introduced a new script `mv-env.sh` to manage environment variable files, copying `.env.prod` if it exists, otherwise falling back to `.env.example`. - Updated the `cp:db` command in `package.json` to utilize the new script for improved environment configuration handling. These changes enhance the project's environment setup process, ensuring the correct environment variables are used during deployment.main
2 changed files with 6 additions and 1 deletions
@ -0,0 +1,5 @@ |
|||
if [ -f .env.prod ]; then |
|||
cp .env.prod .output/.env |
|||
else |
|||
cp .env.example .output/.env |
|||
fi |
|||
Loading…
Reference in new issue