-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
46 additions
and
548,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,47 @@ | ||
# search-engines-urls-push | ||
|
||
Use this Github Action to push your site urls to search engines(Google, Bing, Baidu) | ||
|
||
## Supported Search Engines | ||
|
||
- Bing | ||
- Baidu | ||
|
||
## Actions secrets | ||
## Example usage | ||
|
||
```yml | ||
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](https://github.com/3Alan/search-engines-urls-push-action#google-secrets) | false | | ||
| google-private-key | private_key, [how to get it](https://github.com/3Alan/search-engines-urls-push-action#google-secrets) | false | | ||
| bing-token | Bing API Key, [how to get it](https://github.com/3Alan/search-engines-urls-push-action#bing-token) | false | | ||
| baidu-token | [how to get it](https://github.com/3Alan/search-engines-urls-push-action#baidu-token) | false | | ||
## Google secrets | ||
Follow the [tutorial](https://developers.google.com/search/apis/indexing-api/v3/prereqs), you will a json file containing the `private_key` and `client_email` | ||
|
||
## Bing token | ||
## Baidu token | ||
|
||
## Example usage | ||
[Bing webmasters tool](https://www.bing.com/webmasters), You can get `API Key` from the settings/API access/API Key | ||
|
||
uses: actions/[email protected] | ||
with: | ||
who-to-greet: 'Mona the Octocat' | ||
## Baidu token | ||
|
||
You can find it on this [website](https://ziyuan.baidu.com/linksubmit/index) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.