This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/master by this push:
new 8ec699dd8a updated the airavata django portal github url
8ec699dd8a is described below
commit 8ec699dd8a935dbb445c38cd8686ada01df03267
Author: lahiruj <[email protected]>
AuthorDate: Fri Jul 18 17:39:05 2025 -0400
updated the airavata django portal github url
---
dev-tools/deployment-scripts/deploy_portal.sh | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/dev-tools/deployment-scripts/deploy_portal.sh
b/dev-tools/deployment-scripts/deploy_portal.sh
index 6090969ef9..4708a2d5f2 100644
--- a/dev-tools/deployment-scripts/deploy_portal.sh
+++ b/dev-tools/deployment-scripts/deploy_portal.sh
@@ -54,8 +54,17 @@ if [ ! -d "${PROJECT_ROOT}" ]; then
sudo mkdir -p ${PROJECT_ROOT}
fi
TMP_CLONE_DIR=$(mktemp -d)
-git clone https://github.com/apache/airavata-django-portal.git ${TMP_CLONE_DIR}
-sudo rsync -av ${TMP_CLONE_DIR}/ ${PROJECT_ROOT}/airavata-django-portal/
+REPO_URL="https://github.com/apache/airavata-portals.git"
+SUBDIR="airavata-django-portal"
+
+# Use sparse checkout to get only the subdirectory
+git clone --filter=blob:none --no-checkout ${REPO_URL} ${TMP_CLONE_DIR}
+cd ${TMP_CLONE_DIR}
+git sparse-checkout set ${SUBDIR}
+git checkout main
+cd -
+
+sudo rsync -av ${TMP_CLONE_DIR}/${SUBDIR}/
${PROJECT_ROOT}/airavata-django-portal/
rm -rf ${TMP_CLONE_DIR}
echo ">>> Creating Python 3.10 virtual environment..."