To know if I need to create a Preview Environment or if I can delete it, I need to check if it already exists from our CI.
To do so, I grep the environment name from
qovery environment list.
qovery environment list needs a context to list the environments.
I tried to pass the following arguments:
qovery environment list --organization my_org --project WebApp but I still need a context following that error:
Run qovery environment list --organization my_org --project WebApp Error: Current environment has not been selected. Please, use 'qovery context set' to set up Qovery context.
qovery context set doesn’t take any arguments to specify the organization and the project.
Is there a way to list the environments without a context or to set a context from a CI?