Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ce25a4

Browse files
authored
Update blog-post-workflow.yml
1 parentf2badb4 commit8ce25a4

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed
Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
name:Blog posts on ReadMe
1+
name:Latest blog post workflow
22
on:
33
schedule:
4-
# Runs every day at 9am UTC
5-
-cron:'0 1 * * *'
4+
# Runs every hour
5+
-cron:'0 * * * *'
6+
workflow_dispatch:
67

78
jobs:
8-
run:
9-
# The type of runner that the job will run on
9+
update-readme-with-blog:
10+
name:Update this repo's README with latest blog posts
1011
runs-on:ubuntu-latest
11-
12-
# Steps represent a sequence of tasks that will be executed as part of the job
1312
steps:
1413
-uses:actions/checkout@v2
15-
-name:Get RSS Feed
16-
uses:kohrongying/readme-the-rss@master
17-
with:
18-
feed_url:https://musing.vercel.app/feed.xml
19-
count:10
20-
-name:Commit file changes
21-
run:|
22-
git config --global user.name 'Parth'
23-
git config --global user.email 'desaiparth2000@gmail.com'
24-
git add .
25-
git diff --quiet --cached || git commit -m "Update README"
26-
-name:Push changes
27-
uses:ad-m/github-push-action@master
14+
-uses:gautamkrishnar/blog-post-workflow@master
2815
with:
29-
github_token:${{ secrets.GITHUB_TOKEN }}
16+
max_post_count:"4"
17+
feed_list:"https://musing.vercel.app/feed.xml"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp