Skip to content

Instantly share code, notes, and snippets.

@WesleySmits
Created September 18, 2021 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WesleySmits/851d125f6919096841c3a149c2b60a70 to your computer and use it in GitHub Desktop.
Save WesleySmits/851d125f6919096841c3a149c2b60a70 to your computer and use it in GitHub Desktop.
GitHub actions YAML file fetching the latest blog posts from Medium
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
# This will make it run every hour
- cron: '0 0 * * *'
# Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
workflow_dispatch:
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gautamkrishnar/blog-post-workflow@master
with:
# Replace this URL with your rss feed URL/s
feed_list: "https://medium.com/feed/@WesleySmits"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment