Skip to content

Commit a0a46bd

Browse files
committed
Add search config for the docs
1 parent b247303 commit a0a46bd

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/main.workflow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ action "Build and push docs" {
1818
needs = ["Update version"]
1919
uses = "clay/docusaurus-github-action@master"
2020
args="deploy"
21-
secrets = ["DEPLOY_SSH_KEY"]
21+
secrets = ["DEPLOY_SSH_KEY", "ALGOLIA_API_KEY"]
2222
}

website/siteConfig.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ const siteConfig = {
5454

5555
// Open Graph and Twitter card images.
5656
ogImage: '',
57-
twitterImage: ''
57+
twitterImage: '',
58+
algolia: {
59+
apiKey: process.env.ALGOLIA_API_KEY,
60+
indexName: 'TBD',
61+
algoliaOptions: {} // Optional, if provided by Algolia
62+
}
5863
};
5964

6065
module.exports = siteConfig;

0 commit comments

Comments
 (0)