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 26, 2019
1 parent a00ad42 commit 95da43a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ workflow "Deploy to GitHub Pages" {
}

action "Update version" {
needs = ["Filter branch"]
uses = "clay/docusaurus-github-action@master"
args = "version"
}
Expand All @@ -18,5 +17,5 @@ action "Update version" {
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: '#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 95da43a

Please sign in to comment.