Skip to content

Commit 398fb70

Browse files
committed
added blog posts
1 parent 7866371 commit 398fb70

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.github/blog-post-workflow.yml

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

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
<a href="https://www.leetcode.com/willdoescode" target="blank"><img align="center" src="https://cdn.jsdelivr.net/npm/[email protected]/icons/leetcode.svg" alt="willdoescode" height="30" width="40" /></a>
2020
</p>
2121

22+
## Blog posts
23+
<!-- BLOG-POST-LIST:START -->
24+
<!-- BLOG-POST-LIST:END -->
2225

2326
## nat Stargazers
2427

0 commit comments

Comments
 (0)