Add workflow to update examples in `README.md`
Fixes https://github.com/jbangdev/jbang-catalog/issues/43
Good idea! Btw, instead of giving two examples perhaps you could add just one plus the command to list the others instead? jbang catalog list jbangdev
Edit: although what we should actually do is create a GitHub action that on each change to the catalog file runs jbang catalog2readme@jbangdev and updates the README :-)
Thank you for the neat idea! I put it on my SkedPal TODO List and it will eventually show up 😅.
Side track: I am confused with https://github.com/jbanghub/jbang-catalog and this repository. But it is how it is... Same naming across different organizations is nice. Only have troubles with GitHub forks, because I forked both - to get https://github.com/jbanghub/jbang-catalog/pull/3 into the main catalog :)
Added the workflow. Works:
Rendered example here: https://github.com/koppor/jbang-catalog-1#jbang-catalog
@quintesse May I ask for some time to look into this PR?
Steps to update README.md:
- Merge this workflow in
- Trigger it manually
After that on each update of the catalog json, there will be a new commit udpating README.md
sorry for missing this - but this seems similar to what got merged to update readme.md, right?