Skip to content

Commit

Permalink
feat: Automatically update search results on deployment
Browse files Browse the repository at this point in the history
This commit introduces a script which scans and parses
content in the docs and formats it in a way such that it
is usable through the general search function.

Signed-off-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung committed Mar 13, 2024
1 parent 924bc09 commit 7625d77
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 5,725 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ COPY . .

ENV NEXT_TELEMETRY_DISABLED 1

RUN npm run build --no-lint
RUN set -xe; \
npm run search-meta:gen; \
npm run build --no-lint

# Production image, copy all the files and run next
FROM base AS runner
Expand Down
Loading

0 comments on commit 7625d77

Please sign in to comment.