Skip to content

Latest blog post workflow #19569

Latest blog post workflow

Latest blog post workflow #19569

name: Latest blog post workflow
on:
push:
branches:
- main
schedule:
# workflow runs every hour
- cron: "0 * * * *"
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
permissions:
contents: write # To write the generated contents to the readme
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pull in dev.to posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: "https://offering.solutions/feed/"
user_agent: "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
accept_header: "text/xml"