feat(indexnow): indexnow after deploy

This commit is contained in:
2025-04-05 21:19:18 +07:00
parent 9eb4dcabae
commit 0d3ef38769
2 changed files with 10 additions and 16 deletions
+10
View File
@@ -80,3 +80,13 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
check-and-submit:
runs-on: ubuntu-latest
needs: deploy
steps:
- name: indexnow-action
uses: bojieyang/indexnow-action@v2
with:
sitemap-location: 'https://tiennm99.github.io/sitemap.xml'
key: ${{ secrets.INDEXNOW_KEY }}
-16
View File
@@ -1,16 +0,0 @@
name: 'IndexNow'
on:
create:
schedule:
- cron: '0 17 * * *'
workflow_dispatch:
jobs:
check-and-submit:
runs-on: ubuntu-latest
steps:
- name: indexnow-action
uses: bojieyang/indexnow-action@v2
with:
sitemap-location: 'https://tiennm99.github.io/sitemap.xml'
key: ${{ secrets.INDEXNOW_KEY }}