forked from masesgroup/JNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Index Now under scheduled workflow (masesgroup#563)
- Loading branch information
1 parent
0e92db1
commit eb96ad9
Showing
2 changed files
with
22 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Index Now | ||
|
||
on: | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# https://crontab.cronhub.io/ | ||
- cron: '0 0 * * SAT' | ||
|
||
jobs: | ||
indexing: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: IndexNow Action | ||
uses: bojieyang/indexnow-action@v2 | ||
with: | ||
sitemap-location: 'https://jnet.masesgroup.com/sitemap.xml' | ||
key: ${{ secrets.INDEXNOW_KEY }} | ||
since-unit: week | ||
limit: 10000 | ||
timeout: 600000 |
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