docs icon indicating copy to clipboard operation
docs copied to clipboard

docs(github actions): steps context not listed in job environment url

Open johnnygerard opened this issue 1 year ago • 2 comments
trafficstars

Code of Conduct

What article on docs.github.com is affected?

Under jobs.<job_id>.environment, it says:

The value of url can be an expression. Allowed expression contexts: github, inputs, vars, needs, strategy, matrix, job, runner, and env.

The steps context is not listed despite being used in the example below:

environment:
  name: production_environment
  url: ${{ steps.step_id.outputs.url_output }}

What changes are you suggesting?

Add steps to the list of allowed expression contexts.

Additional information

No response

johnnygerard avatar Apr 20 '24 04:04 johnnygerard

@johnnygerard Thank you for opening this issue! I'll get this triaged for review ✨

nguyenalex836 avatar Apr 22 '24 16:04 nguyenalex836

Thank you for opening this issue @johnnygerard! ✨ This update to the docs makes sense to me. You are anyone else is free to open a pull request to make these changes.

SiaraMist avatar Jun 13 '24 18:06 SiaraMist