mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-09-04 20:55:41 +00:00
Added Indexnow
This commit is contained in:
parent
f3f45ebe1e
commit
873fe50a44
2 changed files with 11 additions and 1 deletions
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
|
|
@ -165,4 +165,13 @@ jobs:
|
||||||
--no-group \
|
--no-group \
|
||||||
-e "ssh -p ${DEPLOY_PORT}" \
|
-e "ssh -p ${DEPLOY_PORT}" \
|
||||||
dist/ \
|
dist/ \
|
||||||
${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/
|
${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/
|
||||||
|
|
||||||
|
- name: Submit to IndexNow
|
||||||
|
uses: bojieyang/indexnow-action@v3
|
||||||
|
with:
|
||||||
|
sitemap-location: '${{ env.SITE_URL }}sitemap.xml'
|
||||||
|
key: ${{ vars.INDEXNOW_KEY }}
|
||||||
|
lastmod-required: false
|
||||||
|
endpoint: api.indexnow.org
|
||||||
|
limit: 1000
|
||||||
1
public/888c64d8d7d9a2b605bcd5277021a414.txt
Normal file
1
public/888c64d8d7d9a2b605bcd5277021a414.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
888c64d8d7d9a2b605bcd5277021a414
|
||||||
Loading…
Reference in a new issue