Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vercel에서 .env 를 생성해주지 않는 이슈 #113

Open
dididy opened this issue Feb 26, 2022 · 0 comments
Open

vercel에서 .env 를 생성해주지 않는 이슈 #113

dididy opened this issue Feb 26, 2022 · 0 comments
Assignees
Labels

Comments

@dididy
Copy link
Member

dididy commented Feb 26, 2022

if [[ $VERCEL_ENV == production ]]; then V={프로드}; else V={데브}; fi && echo BASE_URL=$V > .env && cat .env && yarn build-prod

이렇게 vercel build command에서 .env를 $VERCEL_ENV 기반으로 분기 나눠서 생성해주도록 해서 해결

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant