Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

search-engines-urls-push

v0.2.2

search-engines-urls-push

upload-cloud

search-engines-urls-push

push your urls to search engines, support google,bing,baidu

Installation

Copy and paste the following snippet into your .yml file.

              

- name: search-engines-urls-push

uses: 3Alan/search-engines-urls-push@v0.2.2

Learn more about this action in 3Alan/search-engines-urls-push

Choose a version

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/search-engines-urls-push@v0.1.0
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 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