File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Latest blog post workflow
2+ on :
3+ schedule : # Run workflow automatically
4+ - cron : ' 0 * * * *' # Runs every hour, on the hour
5+ workflow_dispatch : # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
6+ permissions :
7+ contents : write # To write the generated contents to the readme
8+
9+ jobs :
10+ update-readme-with-blog :
11+ name : Update this repo's README with latest blog posts
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+ - name : Pull in stacktips.com posts
17+ uses : gautamkrishnar/blog-post-workflow@v1
18+ with :
19+ feed_list : " https://stacktips.com/rss/topics/spring-boot"
20+ max_post_count : 20
21+ # - name: Pull Youtube feed
22+ # uses: gautamkrishnar/blog-post-workflow@master
23+ # with:
24+ # feed_list: "https://www.youtube.com/feeds/videos.xml?channel_id=UCGydhB36jVvXIAU8HDlHovQ"
25+ # custom_tags: "channelId/yt:channelId/,videoId/yt:videoId/"
26+ # date_format: "mmm d, yyyy"
27+ # template: '<table style="border:none;"><tr style="border:none;"><td style="border:none;"><a href="$url"><img width="150px" src="http://img.youtube.com/vi/$videoId/maxresdefault.jpg"></a></td>$newline<td><a href="$url"><span font-size="16px">$title</span></a><br/>$date</td></tr></table>$newline'
28+ # max_post_count: 3
29+ # comment_tag_name: "YOUTUBE"
You can’t perform that action at this time.
0 commit comments