feat(indexnow): add IndexNow key file and trigger script
This commit is contained in:
@@ -9,6 +9,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install SSH client
|
||||
run: |
|
||||
apt-get update -qq
|
||||
@@ -49,3 +52,11 @@ jobs:
|
||||
curl -fsS -o /dev/null -w "HEALTH HTTP %{http_code}\n" "$HEALTH_URL"
|
||||
docker image prune -af --filter "until=168h" >/dev/null 2>&1 || true
|
||||
REMOTE
|
||||
|
||||
- name: Setup Node.js for IndexNow
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Notify IndexNow
|
||||
run: npm run indexnow || true
|
||||
|
||||
Reference in New Issue
Block a user