Use this Github Action to push your site urls to search engines(Google, Bing, Baidu)
- Bing
- Baidu
uses: 3Alan/search-engines-urls-push@v0.2.3
with:
site: ${{ secrets.SITE }}
sitemap: ${{ secrets.SITEMAP }}
count: ${{ secrets.COUNT }}
bing-token: ${{ secrets.BING_TOKEN }}
baidu-token: ${{ secrets.BAIDU_TOKEN }}
google-client-email: ${{ secrets.GOOGLE_CLIENT_EMAIL }}
google-private-key: ${{ secrets.GOOGLE_PRIVATE_KEY }}
Name | Description | Required |
---|---|---|
site | your site url | true |
sitemap | your sitemap url | true |
count | the numbers of urls pushed to search engines, if empty, all your urls will be pushed | false |
google-client-email | client_email, how to get it | false |
google-private-key | private_key, how to get it | false |
bing-token | Bing API Key, how to get it | false |
baidu-token | how to get it | false |
Follow the tutorial, you will get a json file containing the private_key
and client_email
Bing webmasters tool, You can get API Key
from the settings/API access/API Key
You can find it on this website