-
Notifications
You must be signed in to change notification settings - Fork 43
37 lines (31 loc) · 1004 Bytes
/
Copy pathsubmit-indexnow.yml
File metadata and controls
37 lines (31 loc) · 1004 Bytes
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
name: Submit URLs to IndexNow
# Run after merge to main (post-deploy)
on:
push:
branches: [main]
paths:
# Only trigger when SEO-relevant files change
- 'pages/**'
- 'components/game/SeoNoscript.vue'
- 'composables/useGameSeo.ts'
- 'data/languages/*/language_config.json'
- 'server/routes/sitemap-main.xml.ts'
- 'public/llms.txt'
# Allow manual trigger
workflow_dispatch:
jobs:
submit:
name: IndexNow Submission
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Submit to IndexNow
run: ./scripts/submit-indexnow.sh
- name: Ping Google sitemap
run: |
echo "Pinging Google with updated sitemap..."
curl -s "https://www.google.com/ping?sitemap=https://wordle.global/sitemap.xml"
echo ""
echo "Pinging Bing with updated sitemap..."
curl -s "https://www.bing.com/ping?sitemap=https://wordle.global/sitemap.xml"
echo "Done."