update deploy.yml

This commit is contained in:
ClovertaTheTrilobita 2026-08-29 16:56:10 +08:00
parent 873fe50a44
commit 2e8f53bc5b

View file

@ -105,6 +105,15 @@ jobs:
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
manual-deploy: manual-deploy:
if: github.event_name == 'workflow_dispatch' if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest runs-on: ubuntu-latest