Ensure web-app branch is properly checked out after cloning repository
This commit is contained in:
1 parent
aa0a86d9be
commit
9ec67b0a45
1 file changed
+2
-1
+2
-1
@@ -67,7 +67,8 @@ REPO_URL="https://gitlab.com/trbc-dev/eoy-pdf-sortandmerge.git"
|
|||||||
log_info "Cloning application repository..."
|
log_info "Cloning application repository..."
|
||||||
if command -v git &> /dev/null; then
|
if command -v git &> /dev/null; then
|
||||||
sudo apt install -y git
|
sudo apt install -y git
|
||||||
git clone -b web-app "$REPO_URL" .
|
git clone "$REPO_URL" .
|
||||||
|
git checkout web-app
|
||||||
else
|
else
|
||||||
log_warning "Git not available. Please manually download and extract the application files to $APP_DIR"
|
log_warning "Git not available. Please manually download and extract the application files to $APP_DIR"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in new issue
Block a user