Skip to content

Only run enable_first build commands the first time an env is enabled #85

@jlyon

Description

@jlyon

https://github.com/terra-ops/terra-ui-prototype has

drush {{alias}} site-install standard --db-url=mysql://drupal:drupal@database/drupal -y

in the enable_first section of .terra.yml.

Currently on my localhost, re-enabling an existing environment runs these commands and my Drupal db gets wiped. Perhaps a flag isn't getting set properly somewhere?

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