Skip to content

Commit

Permalink
Merge pull request #1135 from Yelinz/ember-build
Browse files Browse the repository at this point in the history
ci: build ember in CI
  • Loading branch information
open-dynaMIX committed Sep 23, 2024
2 parents 12391cb + e0fc12f commit 5bbab1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
path: api
- image: ${{ github.repository }}-caluma
path: caluma
- image: ${{ github.repository }}-ember
path: ember
permissions:
packages: write
contents: read
Expand Down
6 changes: 4 additions & 2 deletions ember/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ module.exports = function (environment) {
userinfoEndpoint: "/userinfo",
afterLogoutUri: "/login",
host:
process.env.OIDC_HOST ||
"https://mysagw.local/auth/realms/mysagw/protocol/openid-connect",
process.env.OIDC_HOST || "/auth/realms/mysagw/protocol/openid-connect",
enablePkce: true,
},
localizedModel: {
Expand Down Expand Up @@ -179,6 +178,9 @@ module.exports = function (environment) {
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV["ember-simple-auth-oidc"].host =
process.env.OIDC_HOST ||
"https://mysagw.local/auth/realms/mysagw/protocol/openid-connect";
}

if (environment === "test") {
Expand Down

0 comments on commit 5bbab1a

Please sign in to comment.