Skip to content

Commit

Permalink
Fix bitbucket problem
Browse files Browse the repository at this point in the history
  • Loading branch information
munisisazade committed Jul 29, 2017
1 parent d21efb5 commit 89728af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function get_project_details {
read -p "Please enter Repo Url : " GIT_REPO_URL
done
echo "GIT_REPO_URL=$GIT_REPO_URL" >> "$CONF_ROOT/config.txt"
if [[ $GIT_REPO_URL == *git@github* ]]; then
if [[ $GIT_REPO_URL == *git@* ]]; then
GIT_ROOT=$(echo $GIT_REPO_URL | cut -d'/' -f 2 | cut -d'.' -f 1)
echo "GIT_ROOT=$GIT_ROOT" >> "$CONF_ROOT/config.txt"
echo -e "Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub without supplying your username or password at each visit."
Expand Down

0 comments on commit 89728af

Please sign in to comment.