Skip to content

Commit 46448fb

Browse files
committed
algolia add
1 parent 0abe5ad commit 46448fb

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,25 @@ jobs:
4141
push: true
4242
tags: registry.webix.io/diagram-docs-alt:${{ steps.vars.outputs.short_ref }}
4343

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

0 commit comments

Comments
 (0)