Skip to content

Commit

Permalink
Add the algolia search configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarpolanco committed Jul 15, 2019
1 parent 1a71b9a commit b9ec7e9
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 @@ -11,5 +11,5 @@ workflow "Deploy to GitHub Pages" {
action "Build and push docs" {
needs = ["Filter branch"]
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: '#99D3DF',
twitterImage: '#99D3DF'
twitterImage: '#99D3DF',
algolia: {
apiKey: process.env.ALGOLIA_API_KEY,
indexName: 'TBD',
algoliaOptions: {} // Optional, if provided by Algolia
}

// Show documentation's last contributor's name.
// enableUpdateBy: true,
Expand Down

0 comments on commit b9ec7e9

Please sign in to comment.