diff --git a/README.md b/README.md index cb26cc6..d5272c2 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ The dashboard has all of it's parameters passed via environment variables. - GITHUB_APP_WEBHOOK_PORT - Optional, defaults to 8081. If set to the same as PORT must also specify GITHUB_APP_WEBHOOK_PATH - GITHUB_APP_WEBHOOK_PATH - Optional if WebHooks running on different port than main site, defaults to /, if running on the same port defaults to /webhook. - LOOKBACK_DAYS - Optional, defaults to 7. Number of days to look in the past for workflow runs. +- GHE_HOST - Optional, defaults to github.com. If you are using GitHub Enterprise. - DEBUG=action-dashboard:\* - Optional setting to help in debugging ### Installation Id diff --git a/actions.js b/actions.js index dcb4657..fac10d6 100644 --- a/actions.js +++ b/actions.js @@ -56,6 +56,7 @@ class Actions { : runs[0].status, createdAt: runs[0].created_at, updatedAt: runs[0].updated_at, + host: this._gitHub._gheHost ? this._gitHub._gheHost : "github.com", }); } else { debug( diff --git a/client/src/components/actiondashboard.vue b/client/src/components/actiondashboard.vue index 8d4868b..6d757ad 100644 --- a/client/src/components/actiondashboard.vue +++ b/client/src/components/actiondashboard.vue @@ -18,13 +18,13 @@