build:
commands:
# 한개 변수만 사용하는 경우
- env | grep -e SOME_ENV_VARIABLES >> .env.production
# 앞이 같은 이름을 가진 여러개 변수를 사용하는 경우
- env | grep -e SAME_NAME_ >> .env.production
출처:
https://docs.aws.amazon.com/ko_kr/amplify/latest/userguide/ssr-environment-variables.html