From f941054bafed746511ae655486f8693547f2bf67 Mon Sep 17 00:00:00 2001 From: Ayush Chaurasia Date: Tue, 30 Sep 2025 13:10:39 +0530 Subject: [PATCH] docs: fix doc deployment and remove recipes workflow trigger (#2688) --- .github/workflows/docs.yml | 1 + .../workflows/trigger-vectordb-recipes.yml | 26 ------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .github/workflows/trigger-vectordb-recipes.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 455ef516..10f0180b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -56,6 +56,7 @@ jobs: with: node-version: 20 cache: 'npm' + cache-dependency-path: docs/package-lock.json - name: Install node dependencies working-directory: node run: | diff --git a/.github/workflows/trigger-vectordb-recipes.yml b/.github/workflows/trigger-vectordb-recipes.yml deleted file mode 100644 index e6a9bc84..00000000 --- a/.github/workflows/trigger-vectordb-recipes.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Trigger vectordb-recipers workflow -on: - push: - branches: [ main ] - pull_request: - paths: - - .github/workflows/trigger-vectordb-recipes.yml - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Trigger vectordb-recipes workflow - uses: actions/github-script@v6 - with: - github-token: ${{ secrets.VECTORDB_RECIPES_ACTION_TOKEN }} - script: | - const result = await github.rest.actions.createWorkflowDispatch({ - owner: 'lancedb', - repo: 'vectordb-recipes', - workflow_id: 'examples-test.yml', - ref: 'main' - }); - console.log(result); \ No newline at end of file