-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add github action for ingesting docs data to Algolia (#980)
* chore: add github action for ingesting docs data to Algolia * chore: update 7docs version to add skip embeddings * chore: remove fetch depth to avoid all branches * chore: remove extra param value for skip embeddings
- Loading branch information
1 parent
2dfcd29
commit 3fba752
Showing
4 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Docs website data ingestion to Algolia for semantic search | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- packages/apps/docs/** | ||
|
||
jobs: | ||
ingestion: | ||
name: Ingestion docs website data to Algolia | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: pnpm install | ||
run: pnpm install | ||
|
||
- name: Ingest docs to Algolia | ||
run: pnpm run 7d:ingest-algolia | ||
working-directory: packages/apps/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3fba752
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs-storybook – ./packages/apps/docs
kadena-js-docs.vercel.app
docs-storybook-kadena-js.vercel.app
docs-storybook-git-main-kadena-js.vercel.app