@docupace/pipeline 1.0.26-alpha-1 → 1.0.26-alpha-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.26-alpha-1",
3
+ "version": "1.0.26-alpha-2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2,6 +2,7 @@ import fs from 'fs';
2
2
  import path from 'path';
3
3
  import axios from 'axios';
4
4
  import crypto from 'crypto';
5
+ import fl from 'fs/promises';
5
6
 
6
7
  import {
7
8
  cloneEnvRepository,
@@ -452,7 +453,7 @@ export async function configureFromSite(
452
453
  CONNECT_URL = `${oldUrl}_ui`;
453
454
  }
454
455
 
455
- if (deployUI === 'true') {
456
+ if (deployUI === true || deployUI === 'true') {
456
457
  await configureUI(
457
458
  SITE_HOST,
458
459
  CORE_URL,
@@ -79,6 +79,6 @@ export const getVaultSecretsConfigs = (site) => {
79
79
  commonSecretsPath: 'secret/data/common/config',
80
80
  siteCommonSecretsPath: `secret/data/${site}/common/config`,
81
81
  graphqlServerSecretsPath: `secret/data/${site}/graphql-server/config`,
82
- uiSecretsPath: `secret/data/${site}/ui/config`
83
- }
82
+ uiSecretsPath: `secret/data/${site}/ui/config`,
83
+ };
84
84
  };
package/terraform/plan.sh CHANGED
@@ -49,6 +49,7 @@ elif [[ "$PROJECT" == "idp" ]];then
49
49
  -var="site=${SITE_NAME}" \
50
50
  -var="env=${CURRENT_ENVIRONMENT}" \
51
51
  -var="docupace_domain=${DOCUPACE_DOMAIN}" \
52
+ -var="docupace_next_domain=${DOCUPACE_NEXT_DOMAIN}" \
52
53
  -var="old_page_design=${USE_OLD_PAGE_DESIGN}" \
53
54
  -var="use_new_domain=${USE_NEW_DOMAIN}" \
54
55
  -var="configure_autologin=${CONFIGURE_AUTOLOGIN}" \