Skip to content

Predefine PHASE_APP and PHASE_ENV via environment variables #252

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)

Activity

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

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