Use jobs.<job_id>.environment
to define the environment that the job references.
|
Provide the environment as only the environment name
, as in the following example:
environment: dev
If you use the Register an artifact deployed to an environment action in a workflow run, its target-environment value overrides jobs.<job_id>.environment .
|