diff --git a/.github/main.workflow b/.github/main.workflow index 29665da..0f9e164 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -18,5 +18,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"] } diff --git a/website/siteConfig.js b/website/siteConfig.js index afca8e5..0831ad9 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -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,