Skip to content

Commit 83fe081

Browse files
author
YusukeIwaki
committed
Add environment variables definition for Heroku deploy.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
1 parent d5dd27f commit 83fe081

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@
8080
"description": "GitHub API client secret",
8181
"required": false
8282
},
83+
"HMD_BITBUCKET_CLIENTID": {
84+
"description": "Bitbucket API client id",
85+
"required": false
86+
},
87+
"HMD_BITBUCKET_CLIENTSECRET": {
88+
"description": "Bitbucket API client secret",
89+
"required": false
90+
},
8391
"HMD_GITLAB_BASEURL": {
8492
"description": "GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional)",
8593
"required": false

lib/config/hackmdEnvironment.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ module.exports = {
6262
clientID: process.env.HMD_GITHUB_CLIENTID,
6363
clientSecret: process.env.HMD_GITHUB_CLIENTSECRET
6464
},
65+
bitbucket: {
66+
clientID: process.env.HMD_BITBUCKET_CLIENTID,
67+
clientSecret: process.env.HMD_BITBUCKET_CLIENTSECRET
68+
},
6569
gitlab: {
6670
baseURL: process.env.HMD_GITLAB_BASEURL,
6771
clientID: process.env.HMD_GITLAB_CLIENTID,

0 commit comments

Comments
 (0)