stilleshan/.github/workflows/blog-post.yml

23 lines
564 B
YAML
Raw Normal View History

2022-01-19 16:59:58 +08:00
name: blog post workflow
on:
schedule:
# Runs every day
- cron: '* 0 * * *'
workflow_dispatch:
jobs:
update-readme-with-blog:
runs-on: ubuntu-latest
steps:
2022-02-04 16:59:47 +08:00
- name: Checkout
uses: actions/checkout@v2
- name: Update this repo's README with latest blog posts
uses: gautamkrishnar/blog-post-workflow@master
2022-01-19 16:59:58 +08:00
with:
feed_list: "https://www.ioiox.com/feed"
2022-02-04 16:59:47 +08:00
- name: Notification - Failure
if: ${{ failure() }}
run: |
echo "Failed to update README with latest blog posts"