diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-08-05 14:43:59 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-08-05 14:43:59 -0400 |
commit | aa21bdd79a95955632f7c88524e5aa244e2e537d (patch) | |
tree | 85b36153d9d330db9360afc8e2f3452d31e0c1a5 /docs/docusaurus.config.js | |
parent | e1ea833bb3bff9401a5f205654f7149288897aa8 (diff) |
Tweak for dynamic invite URL for deploys.
Diffstat (limited to 'docs/docusaurus.config.js')
-rw-r--r-- | docs/docusaurus.config.js | 4 |
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", |