Skip to content

Commit eab3174

Browse files
committed
Echo on how to connect to a newly created branch
1 parent 789c1b4 commit eab3174

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pscale/cli-helper-scripts/create-branch-connection-string.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,10 @@ EOF
5252
echo "$link"
5353
echo "::set-output name=CONNECTION_STRING_LINK::${link}"
5454
fi
55+
echo
56+
echo "Alternatively, you can connect to your new branch like this:"
57+
echo "pscale shell \"$DB_NAME\" \"$BRANCH_NAME\" --org \"$ORG_NAME\""
58+
echo "or, to create a local tunnel to the database:"
59+
echo "pscale connect \"$DB_NAME\" \"$BRANCH_NAME\" --org \"$ORG_NAME\""
5560
export MY_DB_URL=$DB_URL
5661
}

0 commit comments

Comments
 (0)