Skip to content

Commit

Permalink
自动 IndexNow
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Aug 9, 2024
1 parent 46635c4 commit e4dd230
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/index_now.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "IndexNow"
on:
schedule:
- cron: '0 0,12 * * *'
workflow_dispatch:

jobs:
check-and-submit:
runs-on: ubuntu-latest
steps:
- name: indexnow-action
uses: bojieyang/indexnow-action@v2
with:
sitemap-location: "https://question-board.readthedocs.io/sitemapindex.xml"
key: ${{ secrets.INDEXNOW_KEY }}

0 comments on commit e4dd230

Please sign in to comment.