Skip to content

Commit d53ff9f

Browse files
authored
deploy.shで環境を指定してデプロイしたときにURLが表示されない問題の修正 (#1317)
1 parent 855950e commit d53ff9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fi
9595
$deploy_cmd
9696

9797
# Get the url of the deployed CloudFront
98-
weburl=`aws cloudformation describe-stacks --stack-name GenerativeAiUseCasesStack --output json | jq -r ".Stacks[0].Outputs[] | select(.OutputKey==\"WebUrl\") | .OutputValue"`
98+
weburl=`aws cloudformation describe-stacks --stack-name GenerativeAiUseCasesStack$env_name --output json | jq -r ".Stacks[0].Outputs[] | select(.OutputKey==\"WebUrl\") | .OutputValue"`
9999

100100
echo "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
101101
echo "Welcome to GenU: $weburl"

0 commit comments

Comments
 (0)