configure git username and email in bootstrap script
This commit is contained in:
@@ -25,8 +25,15 @@ mkdir -p "/root/desktop"
|
|||||||
mkdir -p "/root/venvs"
|
mkdir -p "/root/venvs"
|
||||||
|
|
||||||
# Clone SIA repository
|
# Clone SIA repository
|
||||||
echo "Cloning SIA repository..."
|
if [ ! -d "/root/sia" ]; then
|
||||||
[ ! -d "/root/sia" ] && git clone "https://$SIA_REPO_USER:$SIA_REPO_PAT@${SIA_REPO_URL#https://}" "/root/sia"
|
echo "Cloning SIA repository..."
|
||||||
|
git clone "https://$SIA_REPO_USER:$SIA_REPO_PAT@${SIA_REPO_URL#https://}" "/root/sia"
|
||||||
|
|
||||||
|
echo "Configuring git user and email..."
|
||||||
|
cd "/root/sia"
|
||||||
|
git config --global user.name "Niels Geens"
|
||||||
|
git config --global user.email "niels.geens@gmail.com"
|
||||||
|
fi
|
||||||
|
|
||||||
# Fixing permissions
|
# Fixing permissions
|
||||||
echo "Fixing permissions..."
|
echo "Fixing permissions..."
|
||||||
|
|||||||
Reference in New Issue
Block a user