File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -215,18 +215,6 @@ jobs:
215215 - checkout
216216 - *step_process_codebase_for_ci
217217
218- - run :
219- name : TEST VARS BEFORE
220- command : env|sort
221-
222- - run :
223- name : Load environment variables from .env
224- command : t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && set +a && . "${t}" && env >> "$BASH_ENV"
225-
226- - run :
227- name : TEST VARS AFTER
228- command : env|sort
229-
230218 - run :
231219 name : Validate Composer configuration
232220 command : composer validate --strict || [ "${VORTEX_CI_COMPOSER_VALIDATE_IGNORE_FAILURE:-0}" -eq 1 ]
@@ -274,6 +262,8 @@ jobs:
274262 - run :
275263 name : Export built codebase
276264 command : |
265+ # Load environment variables from .env file, respecting existing values.
266+ t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && set +a && . "${t}"
277267 echo "${VORTEX_DEPLOY_TYPES:-}" | grep -vq "artifact" && exit 0 || true
278268 mkdir -p "/tmp/workspace/code"
279269 docker compose cp -L cli:"/app/." "/tmp/workspace/code"
You can’t perform that action at this time.
0 commit comments