Browse Source

Minor update

master
NGnius 4 years ago
parent
commit
9914d8f53e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      git_push.sh

+ 2
- 2
git_push.sh View File

@@ -37,9 +37,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined

if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_repo_id}.git
fi

fi