docs
docs copied to clipboard
docs(github actions): steps context not listed in job environment url
trafficstars
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's 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 Thank you for opening this issue! I'll get this triaged for review ✨
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.