Skip to content

Commit b7882ca

Browse files
committed
trigger crawler on each deployment
1 parent 1afd9c0 commit b7882ca

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/algolia.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# generate a workflow that triggers in push to main
2+
name: Algolia Re-crawler
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
algolia_recrawl:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Sleep for 120s
15+
run: sleep 120
16+
- name: Algolia crawler creation and crawl
17+
uses: algolia/algoliasearch-crawler-github-actions@v1.0.10
18+
id: algolia_crawler
19+
with: # mandatory parameters
20+
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
21+
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
22+
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
23+
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
24+
crawler-name: coderabbit
25+
site-url: "https://docs.coderabbit.ai"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy