summaryrefslogtreecommitdiff
path: root/docs/docusaurus.config.js
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-05 14:43:59 -0400
committerPete Johanson <peter@peterjohanson.com>2020-08-05 14:43:59 -0400
commitaa21bdd79a95955632f7c88524e5aa244e2e537d (patch)
tree85b36153d9d330db9360afc8e2f3452d31e0c1a5 /docs/docusaurus.config.js
parente1ea833bb3bff9401a5f205654f7149288897aa8 (diff)
Tweak for dynamic invite URL for deploys.
Diffstat (limited to 'docs/docusaurus.config.js')
-rw-r--r--docs/docusaurus.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index a24f395..2704b65 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -54,7 +54,9 @@ module.exports = {
// },
{
label: "Discord",
- href: "https://zmkfirmware.dev/community/discord/invite",
+ href:
+ (process.env.DEPLOY_URL || "https://zmkfirmware.dev") +
+ "/community/discord/invite",
},
{
label: "Twitter",