Adding REPO_BRANCH

This commit is contained in:
Xander Luedtke
2023-01-03 22:36:20 -07:00
parent 252deefdcd
commit 9f832cb527
4 changed files with 5 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ if [[ -f /var/www/html/index.php ]]; then
cd /var/www/html
git fetch
else
git clone https://$ITFLOW_REPO /var/www/html
git clone --branch $ITFLOW_REPO_BRANCH https://$ITFLOW_REPO /var/www/html
fi
git config --global --add safe.directory /var/www/html