Skip to content

Use current defined env in dump-env #4099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

alexander-schranz
Copy link
Contributor

  • Bug fix #…?

  • New feature?

  • BC breaks?

  • Tests added?

  • Docs added?

    Please, regenerate docs by running next command:
    $ php bin/docgen
    

The dump-env use correctly the current defined env in the .env.local file. While in maybe 99% the cases prod is the only envs there might be application having qa, stage, ... envs and in most cases the .env file is not parsed during deployer process, but flex correctly use the defined env from the .env.local file. So this is not needed and can even end in unexpected

@antonmedv antonmedv merged commit 2f49c9b into deployphp:7.x Jul 21, 2025
1 check passed
@alexander-schranz alexander-schranz deleted the patch-2 branch July 21, 2025 12:25
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