https://github.com/narkdown/render-with-ejs
Writes a markdown file with ejs template in GitHub Action
https://github.com/narkdown/render-with-ejs
actions ejs github-actions markdown
Last synced: 9 months ago
JSON representation
Writes a markdown file with ejs template in GitHub Action
- Host: GitHub
- URL: https://github.com/narkdown/render-with-ejs
- Owner: narkdown
- License: mit
- Archived: true
- Created: 2021-11-11T14:02:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T12:45:38.000Z (over 4 years ago)
- Last Synced: 2025-09-21T20:17:20.639Z (9 months ago)
- Topics: actions, ejs, github-actions, markdown
- Language: JavaScript
- Homepage:
- Size: 2.14 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @narkdown/render-with-ejs
[](https://github.com/marketplace/actions/narkdown-render-with-ejs)
[](https://github.com/younho9/awesome-reading-list/actions/workflows/narkdown.yml)
[](https://badge.fury.io/gh/narkdown%2Frender-with-ejs)
[](./LICENSE)
This action writes a markdown file with ejs template. If you want commit output markdown file, use it with commit action.
## Inputs
### `template-file-path`
EJS template file path.
_Default_ `template.md`
### `target-file-path`
Target markdown file path.
_Default_ `README.md`
### `data`
`object`, Data to be used to render ejs templates.
## Outputs
None. This action just write file in GitHub action runner environment.
## Example usage
- [younho9/awesome-reading-list](https://github.com/younho9/awesome-reading-list/blob/main/.github/workflows/narkdown.yml)
## Related
- [@narkdown/query-in-action](https://github.com/narkdown/query-in-action)
## License
[MIT](LICENSE)