This commit is contained in:
1 parent
ec420e6053
commit
4969ec3fcd
1 file changed
+5
-5
+5
-5
@@ -61,7 +61,7 @@ else
|
||||
cd "$TARGET_DIR"
|
||||
git fetch origin "$BRANCH"
|
||||
git reset --hard "origin/$BRANCH"
|
||||
cd -
|
||||
cd -
|
||||
fi
|
||||
|
||||
cd "$TARGET_DIR"
|
||||
@@ -93,9 +93,9 @@ echo "Using Nexus npm proxy: $NPM_REGISTRY"
|
||||
NPM_REGISTRY_ARG="--build-arg NPM_REGISTRY=${NPM_REGISTRY}"
|
||||
|
||||
echo "Building Docker images..."
|
||||
docker compose --progress plain build
|
||||
--build-arg NEXT_PUBLIC_API_URL="${API_URL}/api"
|
||||
--build-arg VITE_API_URL="${API_URL}"
|
||||
docker compose --progress plain build
|
||||
--build-arg NEXT_PUBLIC_API_URL="${API_URL}/api"
|
||||
--build-arg VITE_API_URL="${API_URL}"
|
||||
${NPM_REGISTRY_ARG}
|
||||
|
||||
echo "Building support-chat bot image from committed source..."
|
||||
@@ -126,4 +126,4 @@ echo "Cleaning up old docker build cache..."
|
||||
docker builder prune -af --keep-storage 6GB 2>/dev/null || true
|
||||
docker image prune -f 2>/dev/null || true
|
||||
|
||||
echo "Deployment for $BRANCH completed successfully!"
|
||||
echo "Deployment for $BRANCH completed successfully!"
|
||||
Reference in new issue
Block a user