diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf9cace..3afcb66 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -105,6 +105,15 @@ jobs: dist/ \ ${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: if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest @@ -165,4 +174,13 @@ jobs: --no-group \ -e "ssh -p ${DEPLOY_PORT}" \ dist/ \ - ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/ \ No newline at end of file + ${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 \ No newline at end of file diff --git a/public/888c64d8d7d9a2b605bcd5277021a414.txt b/public/888c64d8d7d9a2b605bcd5277021a414.txt new file mode 100644 index 0000000..53efba9 --- /dev/null +++ b/public/888c64d8d7d9a2b605bcd5277021a414.txt @@ -0,0 +1 @@ +888c64d8d7d9a2b605bcd5277021a414 \ No newline at end of file