Skip to content

Ensure Config Reload Before Deploy#906

Open
iivvaannxx wants to merge 2 commits intoadobe:masterfrom
iivvaannxx:ensure-config-pre-deploy
Open

Ensure Config Reload Before Deploy#906
iivvaannxx wants to merge 2 commits intoadobe:masterfrom
iivvaannxx:ensure-config-pre-deploy

Conversation

@iivvaannxx
Copy link
Copy Markdown

Description

Ensure config is reloaded just before deploying runtime actions. This ensures any change to .env files during build or pre-deploy hooks are picked by the code that resolves yaml inputs into actual variables (when reading process.env)

Context: https://magento.slack.com/archives/C013UDBFBGB/p1775048141970419?thread_ts=1774551027.799259&cid=C013UDBFBGB

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

const { sendAppAssetsDeployedAuditLog, sendAppDeployAuditLog } = require('../../lib/audit-logger')
const { setRuntimeApiHostAndAuthHandler, getAccessToken } = require('../../lib/auth-helper')
const logActions = require('../../lib/log-actions')
const aioConfigLoader = require('@adobe/aio-lib-core-config')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@purplecabbage are you ok with this var name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants