Skip to content

Commit 80e35e6

Browse files
nicolasiscodingyacineKahlerras
authored andcommitted
feat: Replace custom IndexNow script with GitHub Action
- Use bojieyang/indexnow-action@v2 from GitHub Marketplace - Store IndexNow key securely in GitHub secrets - Automatic sitemap parsing and submission - Better error handling and maintenance
1 parent cf6ef5a commit 80e35e6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Submit URLs to IndexNow
4646
if: github.ref == 'refs/heads/main'
47-
run: node scripts/submit-to-indexnow.js
48-
env:
49-
SITE_URL: https://docs.turbodocx.com
50-
MAX_URLS: 100
47+
uses: bojieyang/indexnow-action@v2
48+
with:
49+
sitemap-location: https://docs.turbodocx.com/sitemap.xml
50+
key: ${{ secrets.INDEXNOW_KEY }}

0 commit comments

Comments
 (0)