extraction the url-repo form cloned one

Signed-off-by: Bertty Contreras-Rojas <bertty@scalytics.io>
diff --git a/.travis.yml b/.travis.yml
index 2c4062e..903559c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,8 +23,8 @@
 install: bundle install
 script: "./script/cibuild"
 branches:
+  only:
   - main
-  - asf-site
 addons:
   apt:
     packages:
diff --git a/script/cibuild b/script/cibuild
index 5646ed9..ed5d9ae 100644
--- a/script/cibuild
+++ b/script/cibuild
@@ -46,7 +46,8 @@
 #git pull origin ${BRANCH_PAGE} --allow-unrelated-histories
 #git checkout ${BRANCH_PAGE}
 
-git clone --depth=50 --branch=${BRANCH_PAGE} https://github.com/${TRAVIS_PULL_REQUEST_SLUG}.git ../${BRANCH_PAGE}
+REPO_URL=$(git remote get-url origin)
+git clone --depth=50 --branch=${BRANCH_PAGE} ${REPO_URL} ../${BRANCH_PAGE}
 
 cd ../${BRANCH_PAGE}
 #delete the old file that it was not gerenated