We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab318b commit e745c15Copy full SHA for e745c15
.github/workflows/indexnow.yml
@@ -0,0 +1,29 @@
1
+name: IndexNow Auto Submit
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ indexnow:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repo
13
+ uses: actions/checkout@v3
14
15
+ - name: Submit URLs to IndexNow
16
+ run: |
17
+ echo "Start submitting to IndexNow..."
18
19
+ URLs=(
20
+ "https://gptvpnhelper.com/chatgpt-plus-guide/"
21
+ )
22
23
+ KEY="7fcb984b977c41acbe5d4ffe78ed0308"
24
25
+ for URL in "${URLs[@]}"; do
26
+ curl -i "https://api.indexnow.org/indexnow?url=$URL&key=$KEY" \
27
+ && echo "Submitted $URL" \
28
+ || echo "Failed to submit $URL"
29
+ done
0 commit comments