-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.58 KB
/
Copy pathindexnow.yml
File metadata and controls
43 lines (38 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: IndexNow daily submit
# "Pingback" pagina-per-pagina, schedulato e con calma (richiesta 2026-09-17):
# ogni giorno sottomette a IndexNow UNA fetta rotante (~1000 URL) del sitemap
# live. Una submission a api.indexnow.org viene condivisa con TUTTI i motori
# aderenti (Bing, Yandex, Seznam, Naver, Yep). Ciclo completo ~1 mese sui
# ~30k URL, poi ricomincia (ri-segnala freschezza dopo i refresh notturni).
#
# NB Google NON aderisce a IndexNow e ha ritirato il ping sitemap nel 2023:
# per Google valgono sitemap <lastmod> (già manutenuto), link interni,
# autorità e la Search Console. Nessun ping per-pagina esiste lì.
#
# La chiave IndexNow è pubblica by design (file <key>.txt alla root del sito).
on:
schedule:
- cron: '30 12 * * *' # ogni giorno 12:30 UTC (ben dopo nightly+deploy)
workflow_dispatch:
inputs:
per_day:
description: "URL per fetta (default 1000)"
required: false
default: "1000"
permissions:
contents: read
concurrency:
group: indexnow
cancel-in-progress: false
jobs:
submit:
runs-on: ubuntu-latest
# 2026-10-05: run ucciso a 15m02s ("All jobs were cancelled") da un hang
# transiente a risposta-goccia. Lo script ora ha budget wall-clock interni
# (8 min globali + 75s/file, vedi indexnow_submit.py) e chiude SEMPRE
# prima di questo tetto, che resta come cintura di sicurezza.
timeout-minutes: 20
steps:
- uses: actions/checkout@v6
- name: Submit today's rolling slice to IndexNow
run: python3 scripts/indexnow_submit.py --per-day "${{ github.event.inputs.per_day || '1000' }}"