Skip to content

Commit bad7b02

Browse files
committed
do not show useless information
1 parent 80b0406 commit bad7b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ readonly IMAGE_URL=${AWS_ACCOUNT_NUMBER}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws
1414
PUBLIC_PATH="https://cdn-${ENV}.hana053.com" yarn run build
1515

1616
# Ensure docker repository exists
17-
aws ecr describe-repositories --repository-names ${DOCKER_NAME} || \
17+
aws ecr describe-repositories --repository-names ${DOCKER_NAME} > /dev/null 2>&1 || \
1818
aws ecr create-repository --repository-name ${DOCKER_NAME}
1919

2020
# Push to docker repository

0 commit comments

Comments
 (0)