Spaces:
Paused
Paused
Update init.sh
Browse files
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 [
|
| 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
|