Skip to content

environment variable to indicate currently running hook #10

Description

@stephen-fanfair

As a potential solution to dokku/dokku#425, I think it would make sense for pluginhook to inject an environment variable that scripts can check for to see if they were triggered by a pluginhook call, and what the trigger was.

For example, the solution to the mentioned issue would be to check for RUNNING_PLUGINHOOK=pre-release and just not trigger the restart code in config:set if true.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions