Skip to content

Cronjob VnExpress #24371

Cronjob VnExpress

Cronjob VnExpress #24371

Workflow file for this run

name: "Cronjob VnExpress"
on:
schedule:
- cron: "*/15 * * * *"
push:
branches:
- "main"
workflow_dispatch:
jobs:
vnexpress_job:
name: VnExpress - ${{ matrix.rand_seed }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- feed_list: "https://vnexpress.net/rss/tin-moi-nhat.rss"
readme_path: "./docs/index.md"
rand_seed: "vnexpress"
- feed_list: "https://vnexpress.net/rss/thoi-su.rss"
readme_path: "./docs/vnexpress/thoi-su.md"
rand_seed: "vnexpress-thoi-su"
- feed_list: "https://vnexpress.net/rss/the-gioi.rss"
readme_path: "./docs/vnexpress/the-gioi.md"
rand_seed: "vnexpress-the-gioi"
- feed_list: "https://vnexpress.net/rss/kinh-doanh.rss"
readme_path: "./docs/vnexpress/kinh-doanh.md"
rand_seed: "vnexpress-kinh-doanh"
- feed_list: "https://vnexpress.net/rss/giai-tri.rss"
readme_path: "./docs/vnexpress/giai-tri.md"
rand_seed: "vnexpress-giai-tri"
- feed_list: "https://vnexpress.net/rss/the-thao.rss"
readme_path: "./docs/vnexpress/the-thao.md"
rand_seed: "vnexpress-the-thao"
- feed_list: "https://vnexpress.net/rss/giao-duc.rss"
readme_path: "./docs/vnexpress/giao-duc.md"
rand_seed: "vnexpress-giao-duc"
- feed_list: "https://vnexpress.net/rss/tin-moi-nhat.rss"
readme_path: "./docs/vnexpress/tin-moi-nhat.md"
rand_seed: "vnexpress-tin-moi-nhat"
- feed_list: "https://vnexpress.net/rss/suc-khoe.rss"
readme_path: "./docs/vnexpress/suc-khoe.md"
rand_seed: "vnexpress-suc-khoe"
- feed_list: "https://vnexpress.net/rss/doi-song.rss"
readme_path: "./docs/vnexpress/doi-song.md"
rand_seed: "vnexpress-doi-song"
- feed_list: "https://vnexpress.net/rss/du-lich.rss"
readme_path: "./docs/vnexpress/du-lich.md"
rand_seed: "vnexpress-du-lich"
- feed_list: "https://vnexpress.net/rss/phap-luat.rss"
readme_path: "./docs/vnexpress/phap-luat.md"
rand_seed: "vnexpress-phap-luat"
# - feed_list: "https://vnexpress.net/rss/khoa-hoc.rss"
# readme_path: "./docs/vnexpress/khoa-hoc.md"
# rand_seed: "vnexpress-khoa-hoc"
# - feed_list: "https://vnexpress.net/rss/so-hoa.rss"
# readme_path: "./docs/vnexpress/so-hoa.md"
# rand_seed: "vnexpress-so-hoa"
# - feed_list: "https://vnexpress.net/rss/oto-xe-may.rss"
# readme_path: "./docs/vnexpress/oto-xe-may.md"
# rand_seed: "vnexpress-oto-xe-may"
# - feed_list: "https://vnexpress.net/rss/suc-manh-so.rss"
# readme_path: "./docs/vnexpress/suc-manh-so.md"
# rand_seed: "vnexpress-suc-manh-so"
# - feed_list: "https://vnexpress.net/rss/cuoi.rss"
# readme_path: "./docs/vnexpress/cuoi.md"
# rand_seed: "vnexpress-cuoi"
# - feed_list: "https://vnexpress.net/rss/y-kien.rss"
# readme_path: "./docs/vnexpress/y-kien.md"
# rand_seed: "vnexpress-y-kien"
# - feed_list: "https://vnexpress.net/rss/tam-su.rss"
# readme_path: "./docs/vnexpress/tam-su.md"
# rand_seed: "vnexpress-tam-su"
# - feed_list: "https://vnexpress.net/rss/cuoc-song-do-day.rss"
# readme_path: "./docs/vnexpress/cuoc-song-do-day.md"
# rand_seed: "vnexpress-cuoc-song-do-day"
# - feed_list: "https://vnexpress.net/rss/hai.rss"
# readme_path: "./docs/vnexpress/hai.md"
# rand_seed: "vnexpress-hai"
# - feed_list: "https://vnexpress.net/rss/cuoi-vui.rss"
# readme_path: "./docs/vnexpress/cuoi-vui.md"
# rand_seed: "vnexpress-cuoi-vui"
# - feed_list: "https://vnexpress.net/rss/cuoi-hay.rss"
# readme_path: "./docs/vnexpress/cuoi-hay.md"
# rand_seed: "vnexpress-cuoi-hay"
# - feed_list: "https://vnexpress.net/rss/cuoi-xuyen-viet.rss"
# readme_path: "./docs/vnexpress/cuoi-xuyen-viet.md"
# rand_seed: "vnexpress-cuoi-xuyen-viet"
# - feed_list: "https://vnexpress.net/rss/tin-xem-nhieu.rss"
# readme_path: "./docs/vnexpress/tin-xem-nhieu.md"
# rand_seed: "vnexpress-tin-xem-nhieu"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull in vnexpress news
uses: ePlus-DEV/[email protected]
with:
retry_count: 5
readme_path: ${{ matrix.readme_path }}
feed_list: ${{ matrix.feed_list }}
committer_email: "[email protected]"
commit_message: "Get vnexpress news - ${{ matrix.rand_seed }} - ${{ github.event.repository.updated_at}}"
rand_seed: ${{ matrix.rand_seed }}
comment_tag_name: ${{ matrix.rand_seed }}
date_format: "HH:MM dd/mm/yyyy"
template: "$newline- $randomEmoji(💯,🔥,💫,🚀,🌮,📝,🥳,💻,🧰,🏊,🥰,🧐,🤓,😎,🥸,🤩,🤗,🤔,🫣,🤭,🤠,👹,👺,🤡,🤖,🎃,😺,🫶,👍,💪,💄,👀,🧠,🧑‍🏫,👨‍🏫,💂,🧑‍💻,🥷,💃,🕴,💼,🎓,🐻,🐵,🙉,🦄,🦆,🦅,🦍,🦣,🐘,🦒,🦏,🐎,🦩,🐲,🌝,🌜,🌏,🌈,🌊,🎬,🎭,🚀,🚦,⛽️,🗽,🎡,🌋,🌁,💡,🕯,🪜,🧰,⚗️,🔭,🪄,🎊,🎉) [$title]($url) - $date"
max_post_count: 60