-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add workflow to auto update docs #541
Conversation
Signed-off-by: Charlie Egan <charlie@styra.com>
.github/workflows/update-docs.yaml
Outdated
-H 'Authorization: Bearer ${{ steps.generate_token.outputs.token }}' \ | ||
-H 'X-Github-Api-Version: 2022-11-28' \ | ||
-H 'Content-Type: application/json; charset=utf-8' \ | ||
-d $'{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the $
do here? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually think in this case it's not doing anything, but if there were \n
s in there, they'd be handled as new lines. I think, just a bash thing as I understand it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed it, it's not needed. It's just set in the generated commands from my REST gui thingy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting! I'll have to read up on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* docs: add workflow to auto update docs Signed-off-by: Charlie Egan <charlie@styra.com> * Drop $ in single quote arg --------- Signed-off-by: Charlie Egan <charlie@styra.com>
No description provided.