Create blog-post-workflow.yml
This commit is contained in:
parent
ba1554550a
commit
ec8f2a6655
1 changed files with 19 additions and 0 deletions
19
.github/workflows /blog-post-workflow.yml
vendored
Normal file
19
.github/workflows /blog-post-workflow.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: Latest blog post workflow
|
||||
on:
|
||||
schedule: # Run workflow automatically
|
||||
- cron: '0 * * * *' # Runs every hour, on the hour
|
||||
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@v4
|
||||
- name: Pull in dev.to posts
|
||||
uses: gautamkrishnar/blog-post-workflow@v1
|
||||
with:
|
||||
feed_list: "https://blog.imnya.ng/rss.xml"
|
||||
Loading…
Add table
Add a link
Reference in a new issue