docs
docs copied to clipboard
Broken markup in OIDC docs
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?
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers#requesting-the-jwt-using-environment-variables
What part(s) of the article would you like to see updated?
The shell command should be:
IDTOKEN=$(curl -H "Authorization: bearer ${{steps.script.outputs.TOKEN}}" ${{steps.script.outputs.IDTOKENURL}} -H "Accept: application/json; api-version=2.0" -H "Content-Type: application/json" -d "{}" | jq -r '.value')
But the stuff inside {{ }}
seems to be pre-processed out, leaving just $
signs. See screenshot below.
Additional information
maintainer edit
Content plan here
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@porridge Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:
Thanks for reporting this! All instances of ${{ ... }}
need to be wrapped with {% raw %}
/{% endraw %}` in order to render properly. You or anyone else is welcome to open a PR to address this.