Skip to content

Commit 4ebdf0b

Browse files
committed
ZERO138 show correct environment
1 parent cf7ece5 commit 4ebdf0b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ summary:
2020
@echo "zero-deployable-react-frontend:"
2121
@echo "- Repository URL: ${REPOSITORY}"
2222
@echo "- Deployment Pipeline URL: https://app.circleci.com/pipelines/github/${GITHUB_ORG}/${GITHUB_REPO}"
23-
@echo "- Production Landing Page: ${productionFrontendSubdomain}${productionHostRoot}"
24-
@echo "- Staging Landing Page: ${stagingFrontendSubdomain}${stagingHostRoot}"
23+
@echo $(shell echo ${ENVIRONMENT} | grep production > /dev/null && echo "- Production Landing Page: ${productionFrontendSubdomain}${productionHostRoot}")
24+
@echo $(shell echo ${ENVIRONMENT} | grep staging > /dev/null && echo "- Staging Landing Page: ${stagingFrontendSubdomain}${stagingHostRoot}")
25+

0 commit comments

Comments
 (0)