Skip to content

3Alan/search-engines-urls-push

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

search-engines-urls-push

Use this Github Action to push your site urls to search engines(Google, Bing, Baidu)

Supported Search Engines

  • Google
  • Bing
  • Baidu

Example usage

uses: 3Alan/[email protected]
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 }}

Action inputs

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

Google secrets

Follow the tutorial, you will get a json file containing the private_key and client_email

Bing token

Bing webmasters tool, You can get API Key from the settings/API access/API Key

Baidu token

You can find it on this website