Skip to content

← All questions

Environment "qa" has no file at projects/demo-shop/envs/qa.yaml

Asked 5,610 views2 answers

Declared it in the project file:

yaml
envs:
  default: staging
  available: [local, staging, qa]
bash
sdods run -p demo-shop -e qa -l api
text
✖ ENV_NOT_FOUND: Environment "qa" has no file at /work/shop-tests/projects/demo-shop/envs/qa.yaml
  hint: Run `sdods env add qa --project demo-shop --ui-url ... --api-url ...`.
  docs: https://docs.sdods.com/docs/guides/configuration

Does an environment have to have a file? I only wanted the name to exist so CI could pass it through.

asked by Chandra Pillai873 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related