We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a3439 commit dca3e4dCopy full SHA for dca3e4d
entrypoint.sh
@@ -54,7 +54,7 @@ case $AMPLIFY_COMMAND in
54
deploy)
55
echo "deploying"
56
57
- if [[ ! -z $(aws amplify get-branch --app-id=${AmplifyAppId} --branch-name=$BRANCH_NAME --region=${AWS_REGION} 2> /dev/null) ]]; then
+ if [[ -z $(aws amplify get-branch --app-id=${AmplifyAppId} --branch-name=$BRANCH_NAME --region=${AWS_REGION} 2> /dev/null) ]]; then
58
echo "Creating the Amplify branch"
59
sh -c "aws amplify create-branch --app-id=${AmplifyAppId} --branch-name=$BRANCH_NAME \
60
${backend_env_arg} ${environment_variables_arg} --region=${AWS_REGION}"
0 commit comments