Skip to content

Commit b4bcca1

Browse files
committed
Create blog-post-workflow.yaml
1 parent d1c6bc5 commit b4bcca1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Latest blog post workflow
2+
on:
3+
schedule: # Run workflow automatically
4+
# - cron: '0 * * * *' # Runs every hour, on the hour
5+
- cron: '0 0 */2 * *' # Runs at every 2 days
6+
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
7+
8+
jobs:
9+
update-readme-with-blog:
10+
name: Update this repo's README with latest blog posts
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Pull in dev.to posts
16+
uses: gautamkrishnar/blog-post-workflow@v1
17+
with:
18+
feed_list: "https://tmiland.com/feed/"

0 commit comments

Comments
 (0)