Skip to content

Commit 5373e7b

Browse files
committed
algolia add
1 parent 33131c8 commit 5373e7b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,23 @@ jobs:
4242
tags: registry.webix.io/kanban-docs-alt:${{ steps.vars.outputs.short_ref }}
4343

4444
- run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-kanban-alt-${{ steps.vars.outputs.short_ref }}"
45+
algolia-crawl:
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Checkout Repo
50+
uses: actions/checkout@v4
51+
52+
- name: Wait for Deployment
53+
run: sleep 30
54+
55+
- name: Algolia Crawler Creation and Crawl
56+
uses: algolia/[email protected]
57+
with:
58+
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
59+
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
60+
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
61+
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
62+
site-url: 'https://docs.dhtmlx.com/kanban/'
63+
crawler-name: 'Kanban Docs Crawler'
64+
override-config: true

0 commit comments

Comments
 (0)