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 Jul 26, 2019
1 parent b247303 commit a0a46bd
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 @@ -18,5 +18,5 @@ action "Build and push docs" {
needs = ["Update version"]
uses = "clay/docusaurus-github-action@master"
args="deploy"
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 a0a46bd

Please sign in to comment.