Thanks to visit codestin.com Credit goes to github.com
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 1afd9c0 commit b7882caCopy full SHA for b7882ca
.github/workflows/algolia.yml
@@ -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/[email protected]
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