Skip to content

Cronjob

Cronjob #15

Workflow file for this run

name: "Cronjob"
on:
schedule:
- cron: '*/5 * * * *'
push:
branches:
- 'main'
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull in vnexpress news
uses: ePlus-DEV/[email protected]
with:
retry_count: 2
feed_list: "https://vnexpress.net/rss/tin-moi-nhat.rss"
committer_email: "[email protected]"
commit_message: Get vnexpress news
rand_seed: "vnexpress"
comment_tag_name: "vnexpress"
date_format: 'HH:MM dd/mm/yyyy'
template: "$newline- $randomEmoji(💯,🔥,💫,🚀,🌮,📝,🥳,💻,🧰,🏊,🥰,🧐,🤓,😎,🥸,🤩,🤗,🤔,🫣,🤭,🤠,👹,👺,🤡,🤖,🎃,😺,🫶,👍,💪,💄,👀,🧠,🧑‍🏫,👨‍🏫,💂,🧑‍💻,🥷,💃,🕴,💼,🎓,🐻,🐵,🙉,🦄,🦆,🦅,🦍,🦣,🐘,🦒,🦏,🐎,🦩,🐲,🌝,🌜,🌏,🌈,🌊,🎬,🎭,🚀,🚦,⛽️,🗽,🎡,🌋,🌁,💡,🕯,🪜,🧰,⚗️,🔭,🪄,🎊,🎉) [$title]($url) -$date"
max_post_count: 50
- name: Pull in thanhnien news
uses: ePlus-DEV/[email protected]
with:
retry_count: 2
feed_list: "https://thanhnien.vn/rss/xe.rss"
committer_email: "[email protected]"
commit_message: Get thanhnien news
rand_seed: "thanhnien"
comment_tag_name: "thanhnien"
date_format: 'HH:MM dd/mm/yyyy'
template: "$newline- $randomEmoji(💯,🔥,💫,🚀,🌮,📝,🥳,💻,🧰,🏊,🥰,🧐,🤓,😎,🥸,🤩,🤗,🤔,🫣,🤭,🤠,👹,👺,🤡,🤖,🎃,😺,🫶,👍,💪,💄,👀,🧠,🧑‍🏫,👨‍🏫,💂,🧑‍💻,🥷,💃,🕴,💼,🎓,🐻,🐵,🙉,🦄,🦆,🦅,🦍,🦣,🐘,🦒,🦏,🐎,🦩,🐲,🌝,🌜,🌏,🌈,🌊,🎬,🎭,🚀,🚦,⛽️,🗽,🎡,🌋,🌁,💡,🕯,🪜,🧰,⚗️,🔭,🪄,🎊,🎉) [$title]($url) -$date"
max_post_count: 50