Created
October 12, 2020 20:16
-
-
Save kaustubhgupta/03d69eec06e5d0283d029a3aea14bf5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest blog post workflow | |
on: | |
push: # Everytime index.html is pushed, this action runs and updates the blogs section! | |
jobs: | |
update-readme-with-blog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gautamkrishnar/blog-post-workflow@master | |
with: | |
feed_list: <Your feedlist> | |
max_post_count: 7 | |
readme_path: index.html | |
template: "$newline <h2 class='h2-blog'><a class='a-lightblue' href=$url>$title</a></h2>$newline <br>" # Do not change the template as it will not render good results! | |
gh_token: ${{ secrets.TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment