1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-30 21:52:06 +02:00

activate search engine ping on live deployments

This commit is contained in:
Matthias Kretschmann 2018-11-29 10:37:58 +01:00
parent 8436c3d884
commit d3e75d7f54
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -51,9 +51,9 @@ elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] |
# ping search engines
# returns: HTTP_STATUSCODE URL
# curl -sL -w "%{http_code} %{url_effective}\\n" \
# "http://www.google.com/webmasters/tools/ping?sitemap=$SITEMAP_URL" -o /dev/null \
# "http://www.bing.com/webmaster/ping.aspx?siteMap=$SITEMAP_URL" -o /dev/null
curl -sL -w "%{http_code} %{url_effective}\\n" \
"http://www.google.com/webmasters/tools/ping?sitemap=$SITEMAP_URL" -o /dev/null \
"http://www.bing.com/webmaster/ping.aspx?siteMap=$SITEMAP_URL" -o /dev/null
echo "---------------------------------------------"
echo " ✓ done deployment "