mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-09-04 20:55:41 +00:00
commit
98923bf0b8
2 changed files with 20 additions and 1 deletions
20
.github/workflows/deploy.yml
vendored
20
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||||
|
|
@ -165,4 +174,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