diff --git a/.github/workflows/deploy-converter.yaml b/.github/workflows/deploy-converter.yaml index fe6347a89..f3d2037a8 100644 --- a/.github/workflows/deploy-converter.yaml +++ b/.github/workflows/deploy-converter.yaml @@ -46,7 +46,6 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - run: npm ci - - run: npm run converter:test - run: npm run converter:build:prod - run: npm run converter:deploy -- convert/${ACTION_NAME} env: diff --git a/converter.yaml b/converter.yaml index 824e8096b..bb9c993fa 100644 --- a/converter.yaml +++ b/converter.yaml @@ -1,7 +1,7 @@ # the origin to fetch content from -origin: https://author-p93411-e849602.adobeaemcloud.com +origin: https://author-p93411-e849552.adobeaemcloud.com/ suffix: ".html?wcmmode=disabled" -internalHost: https://main--danaher-ls-aem--hlxsites.hlx.live +internalHost: https://main--danaher-ls-aem-prod--hlxsites.hlx.live # the live urls of the content # this is used to make absolute links to the urls domain reliatve # it may be an array, if there are mutliple urls possible like diff --git a/fstab.yaml b/fstab.yaml index 639ab0f34..7a50a5053 100644 --- a/fstab.yaml +++ b/fstab.yaml @@ -1,6 +1,6 @@ mountpoints: /: - url: https://1050314-569danaherxwalk-stage.adobeioruntime.net/api/v1/web/convert/main/ + url: https://1050314-569danaherxwalk.adobeioruntime.net/api/v1/web/convert/main/ type: markup suffix: ".html?wcmmode=disabled" diff --git a/scripts/delayed.js b/scripts/delayed.js index bee1f034c..5b5451a37 100644 --- a/scripts/delayed.js +++ b/scripts/delayed.js @@ -35,6 +35,31 @@ function loadGTM() { } // google tag manager -end +// SalesForce MCP - start + +function loadEvergageScript() { + const script = document.createElement('script'); + if (window.location.host === 'lifesciences.danaher.com') { + script.src = 'https://cdn.evgnet.com/beacon/v55685555553mx3rf3h3n3n3i091550196/danaher_ls_prod/scripts/evergage.min.js'; + } else { + script.src = 'https://cdn.evgnet.com/beacon/v55685555553mx3rf3h3n3n3i091550196/danaher_ls_staging/scripts/evergage.min.js'; + } + script.onload = function onEvergageLoad() { + }; + script.onerror = function onEvergageError() { + }; + document.head.appendChild(script); +} + +/* eslint-disable no-console */ +setTimeout(() => { + if (typeof OnetrustActiveGroups !== 'undefined' && OnetrustActiveGroups.includes("C0004")) { + loadEvergageScript(); + } +}, 3000); + +// SalesForce MCP - end + // Adobe Target - start window.targetGlobalSettings = {