-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: Latest blog post workflow | ||
on: | ||
schedule: # Run workflow automatically | ||
- cron: '0 * * * *' # Runs every hour, on the hour | ||
- cron: '* 0 * * *' # Runs every hour, on the hour | ||
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly | ||
permissions: | ||
contents: write # To write the generated contents to the readme | ||
|
||
jobs: | ||
update-readme-with-blog: | ||
name: Update this repo's README with latest blog posts | ||
name: Update blog posts list | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -17,3 +17,8 @@ jobs: | |
uses: gautamkrishnar/blog-post-workflow@v1 | ||
with: | ||
feed_list: "https://kittychiu.github.io/feed.xml" | ||
max_post_count: 3 | ||
date_format: "mmm d, yyyy" | ||
committer_username: "kittychiu[bot]" | ||
committer_email: "[email protected]" | ||
commit_message: "[auto] Updated README blog posts list |