diff --git a/deploy.sh b/deploy.sh index 51fc855d3..fc1a9c04b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -95,7 +95,7 @@ fi $deploy_cmd # Get the url of the deployed CloudFront -weburl=`aws cloudformation describe-stacks --stack-name GenerativeAiUseCasesStack --output json | jq -r ".Stacks[0].Outputs[] | select(.OutputKey==\"WebUrl\") | .OutputValue"` +weburl=`aws cloudformation describe-stacks --stack-name GenerativeAiUseCasesStack$env_name --output json | jq -r ".Stacks[0].Outputs[] | select(.OutputKey==\"WebUrl\") | .OutputValue"` echo "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*" echo "Welcome to GenU: $weburl"