I just want to share quick demo about how to use GitHub Actions for fun.
The scenario is simple, I have a repo that contains test.php
and README.md
files. When I update the test.php
(means git push happen) it will update part of content in README.md
file with the content of test.php
.
See the demo at https://github.com/sonyarianto/github-actions-push-and-display-it-on-readme
The workflow is on .github/workflows/update-readme.yml
.
Enjoy the GitHub Actions.
Top comments (0)