diff --git a/app/Commands/SetVariableCommand.php b/app/Commands/SetVariableCommand.php index a19148c..8aa82be 100644 --- a/app/Commands/SetVariableCommand.php +++ b/app/Commands/SetVariableCommand.php @@ -12,6 +12,7 @@ class SetVariableCommand extends Command { const SET_DEV_PROTECTED = true; + const SET_QA_PROTECTED = true; const SET_STAGING_PROTECTED = true; /** * The signature of the command. @@ -42,10 +43,11 @@ public function handle() $project_id = $this->ask('Enter Project ID:'); - $env = $this->choice('Enter environment scope', ['dev', 'staging', 'production', 'all'], 'all'); + $env = $this->choice('Enter environment scope', ['dev', 'qa', 'staging', 'production', 'all'], 'all'); $pre_environment_keys = [ 'dev' => 'DEV', + 'qa' => 'QA', 'staging' => 'STAGE', 'production' => 'PROD' ]; diff --git a/config/vars.php b/config/vars.php index 8c170da..f48a552 100644 --- a/config/vars.php +++ b/config/vars.php @@ -16,4 +16,5 @@ ], 'set_dev_protected' => env('SET_DEV_PROTECTED', false), + 'set_qa_protected' => env('SET_QA_PROTECTED', true), ];