Skip to content
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

Merged
merged 2 commits into from
Feb 7, 2024
Merged

docs: add workflow to auto update docs #541

merged 2 commits into from
Feb 7, 2024

Conversation

charlieegan3
Copy link
Member

No description provided.

Signed-off-by: Charlie Egan <charlie@styra.com>
-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 $'{
Copy link
Member

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? 🤔

Copy link
Member Author

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 \ns in there, they'd be handled as new lines. I think, just a bash thing as I understand it.

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charlieegan3 charlieegan3 merged commit 5418cea into main Feb 7, 2024
3 checks passed
@charlieegan3 charlieegan3 deleted the update-docs branch February 7, 2024 13:47
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants