privateone commited on
Commit
2e6c0a0
·
verified ·
1 Parent(s): 5be6289

Update init.sh

Browse files
Files changed (1) hide show
  1. init.sh +1 -1
init.sh CHANGED
@@ -16,7 +16,7 @@ if [ -n "$GITHUB_PAT" ]; then
16
  # Clone only if the target directory does not exist
17
  if [ ! -d "$TARGET_DIR" ]; then
18
 
19
- if [ ! -d "$CODE_REPO" ]; then
20
  echo "📥 CODE_REPOSITRY detected. Cloning private repository..."
21
  git clone -b "$BRANCH" "$CODE_REPO" "$TARGET_DIR"
22
  else
 
16
  # Clone only if the target directory does not exist
17
  if [ ! -d "$TARGET_DIR" ]; then
18
 
19
+ if [ -n "$CODE_REPO" ]; then
20
  echo "📥 CODE_REPOSITRY detected. Cloning private repository..."
21
  git clone -b "$BRANCH" "$CODE_REPO" "$TARGET_DIR"
22
  else