docs staging is on api.onosproject.org
Change-Id: Ibc6afe4560589d9232413c84a3735dd30e0dedb9
(cherry picked from commit c9c1848d81bee474f63b42f736a4ab0147e07ef1)
diff --git a/tools/build/onos-release-prerequisites b/tools/build/onos-release-prerequisites
index 1eb4cb9..f3d2b6b 100755
--- a/tools/build/onos-release-prerequisites
+++ b/tools/build/onos-release-prerequisites
@@ -92,11 +92,11 @@
echo "OK"
}
-# Test access to wiki.onosproject.org
+# Test access to api.onosproject.org
function testWikiAccess {
trap "echo 'FAILED'" ERR
printf "Checking Wiki access... "
- ssh $WIKI_USER@wiki.onosproject.org "test -w /var/www/api/index.html"
+ ssh $WIKI_USER@api.onosproject.org "test -w /var/www/api/index.html"
echo "OK"
}
diff --git a/tools/build/onos-upload-docs b/tools/build/onos-upload-docs
index 3133d41..79986b6 100755
--- a/tools/build/onos-upload-docs
+++ b/tools/build/onos-upload-docs
@@ -9,7 +9,7 @@
. $ONOS_ROOT/tools/build/envDefaults
user=${1:-${WIKI_USER:-$USER}}
-remote=$user@wiki.onosproject.org
+remote=$user@api.onosproject.org
docs=$(onos-buck build //docs:external --show-output 2>/dev/null | tail -1 | cut -d\ -f2)