mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
Update hugo.yml
This commit is contained in:
1 parent
5087445139
commit
694c4cb183
1 file changed
+11
@@ -96,3 +96,14 @@ jobs:
|
|||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: pages deploy . --project-name=miti99
|
command: pages deploy . --project-name=miti99
|
||||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
submit-indexnow:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Check and submit to IndexNow
|
||||||
|
needs: deploy-cloudflare
|
||||||
|
steps:
|
||||||
|
- name: indexnow-action
|
||||||
|
uses: bojieyang/indexnow-action@v2
|
||||||
|
with:
|
||||||
|
sitemap-location: 'https://miti99.com/sitemap.xml'
|
||||||
|
key: ${{ secrets.INDEXNOW_KEY }}
|
||||||
Reference in new issue
Block a user