feat(indexnow): add IndexNow key file and trigger script

This commit is contained in:
striker
2026-05-21 13:41:52 +03:00
parent a34a0c6093
commit 5dca709ff2
4 changed files with 134 additions and 1 deletions

View File

@@ -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