Skip to content

Predefine PHASE_APP and PHASE_ENV via environment variables #252

@sgohl

Description

@sgohl

Phase only supports the predefinition of PHASE_SERVICE_TOKEN as variable.

Describe the solution you'd like

It would be very useful to also have this for the --app and --env arguments.
That would make the commands easier for containers and package.json and other things

example:

export PHASE_ENV=development
export PHASE_APP=myapp

phase run npm run dev

(btw, .phase.json is not applicable for me, since it's not dynamic)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions