Skip to content

Commit de4a223

Browse files
authored
1 parent 57ecbe4 commit de4a223

File tree

1 file changed

+19
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)