Skip to content

Retrieve Environment Type #30

@raupie

Description

@raupie

Is it possible to retrieve the environment type? Instead of relying on the branch name?

PLATFORM_ENVIRONMENT_TYPE=production

https://docs.platform.sh/glossary.html#environment-type

$config->environment_type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions