mirror of
https://github.com/tiennm99/miti99.git
synced 2026-09-17 20:19:51 +00:00
feat(indexnow): indexnow after deploy
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
Reference in New Issue
Block a user