My understanding is the following affects the stage chosen in the following order:
- If
--stage
is passed as a param to Jovo CLI (get, build, deploy, run), use it - If not, use the value in
project.js
fordefaultStage
- If that does not exist, use env var:
STAGE
- If that does not exist, use env var:
NODE_ENV
Is that correct?
Did any of that change for Jovo 3?
Seems like in Jovo 2 that defaultStage
could be overriden with STAGE
What is the JOVO_STAGE env var for?