Skip to content

Commit

Permalink
Add search config for the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarpolanco committed Jun 28, 2019
1 parent aae2f17 commit 3ea5812
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ action "Update version" {
action "Build and push docs" {
needs = ["Update version"]
uses = "clay/docusaurus-github-action/build_deploy@master"
secrets = ["DEPLOY_SSH_KEY"]
secrets = ["DEPLOY_SSH_KEY", "ALGOLIA_API_KEY"]
}
7 changes: 6 additions & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ const siteConfig = {

// Open Graph and Twitter card images.
ogImage: '',
twitterImage: ''
twitterImage: '',
algolia: {
apiKey: process.env.ALGOLIA_API_KEY,
indexName: 'TBD',
algoliaOptions: {} // Optional, if provided by Algolia
}
};

module.exports = siteConfig;

0 comments on commit 3ea5812

Please sign in to comment.