diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index 22575dd0..c68cb1ee 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -14,6 +14,8 @@ on: jobs: test: runs-on: ubuntu-latest + env: + INKEEP_API_KEY: ${{ secrets.INKEEP_API_KEY }} steps: - uses: actions/checkout@v4 @@ -25,9 +27,12 @@ jobs: node-version: 22 cache: pnpm - run: pnpm install --frozen-lockfile --strict-peer-dependencies + - name: Print INKEEP_API_KEY length + run: | + echo "INKEEP_API_KEY Length: ${#INKEEP_API_KEY}" - run: pnpm run build env: - API_KEY: ${{ secrets.INKEEP_API_KEY }} + INKEEP_API_KEY: ${{ secrets.INKEEP_API_KEY }} - run: pnpm run lint fix: diff --git a/docusaurus.config.ts b/docusaurus.config.ts index f4cd07ca..beb8f143 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -15,11 +15,16 @@ */ import { themes as prismThemes } from "prism-react-renderer" -import { EnumChangefreq } from "sitemap" +import type { EnumChangefreq } from "sitemap" import type * as Preset from "@docusaurus/preset-classic" import type { Config } from "@docusaurus/types" +console.log( + "THE API KEY LENGTH in the docusaurus config is:", + process.env.INKEEP_API_KEY?.length, +) + const baseUrl = "/" const config: Config = {