Skip to content

Conversation

@jayqi
Copy link

@jayqi jayqi commented Feb 15, 2025

Updates the sample GitHub Actions workflow to improve the "Write output to file" step. The previous version of this step breaks if the markdown content contains an apostrophe—see #25.

The proposed version uses heredoc to write out the file. Single quotes are used to avoid any variable substitution or backtick evaluation.

Here's a demo of it working successfully:

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.

1 participant