diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c1de2f65..021141340 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,4 +41,25 @@ jobs: push: true tags: registry.webix.io/diagram-docs-alt:${{ steps.vars.outputs.short_ref }} - - run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-diagram-alt-${{ steps.vars.outputs.short_ref }}" \ No newline at end of file + - run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-diagram-alt-${{ steps.vars.outputs.short_ref }}" + + algolia-crawl: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Wait for Deployment + run: sleep 30 + + - name: Algolia Crawler Creation and Crawl + uses: algolia/algoliasearch-crawler-github-actions@v1.0.10 + with: + crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} + crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} + algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} + algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} + site-url: 'https://docs.dhtmlx.com/diagram/' + crawler-name: 'Diagram Docs Crawler' + override-config: true \ No newline at end of file diff --git a/package.json b/package.json index a724da9dd..7496f8721 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "normalizeLink": "cd plugins && node samplesLinksNormalize.js" }, "dependencies": { - "@docusaurus/core": "^3.7.0", - "@docusaurus/preset-classic": "^3.7.0", + "@docusaurus/core": "^3.8.1", + "@docusaurus/preset-classic": "^3.8.1", "@mdx-js/react": "^3.0.0", "@svgr/webpack": "^5.5.0", "clsx": "^1.1.1",