Skip to content

Cronjob DanTri

Cronjob DanTri #24923

Workflow file for this run

name: "Cronjob DanTri"
on:
workflow_run:
workflows: ["Cronjob ThuVienPhapLuat"]
types: [in_progress]
jobs:
dantri_job:
name: Dân Trí - ${{ matrix.rand_seed }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- feed_list: "https://dantri.com.vn/rss/home.rss"
readme_path: "./docs/index.md"
rand_seed: "dantri"
- feed_list: "https://dantri.com.vn/rss/xa-hoi.rss"
readme_path: "./docs/dantri/xa-hoi.md"
rand_seed: "dantri-xa-hoi"
- feed_list: "https://dantri.com.vn/rss/gia-vang.rss"
readme_path: "./docs/dantri/gia-vang.md"
rand_seed: "dantri-gia-vang"
- feed_list: "https://dantri.com.vn/rss/the-thao.rss"
readme_path: "./docs/dantri/the-thao.md"
rand_seed: "dantri-the-thao"
- feed_list: "https://dantri.com.vn/rss/giao-duc.rss"
readme_path: "./docs/dantri/giao-duc.md"
rand_seed: "dantri-giao-duc"
- feed_list: "https://dantri.com.vn/rss/kinh-doanh.rss"
readme_path: "./docs/dantri/kinh-doanh.md"
rand_seed: "dantri-kinh-doanh"
- feed_list: "https://dantri.com.vn/rss/giai-tri.rss"
readme_path: "./docs/dantri/giai-tri.md"
rand_seed: "dantri-giai-tri"
- feed_list: "https://dantri.com.vn/rss/phap-luat.rss"
readme_path: "./docs/dantri/phap-luat.md"
rand_seed: "dantri-phap-luat"
- feed_list: "https://dantri.com.vn/rss/suc-manh-so.rss"
readme_path: "./docs/dantri/suc-manh-so.md"
rand_seed: "dantri-suc-manh-so"
- feed_list: "https://dantri.com.vn/rss/tinh-yeu-gioi-tinh.rss"
readme_path: "./docs/dantri/tinh-yeu-gioi-tinh.md"
rand_seed: "dantri-tinh-yeu-gioi-tinh"
- feed_list: "https://dantri.com.vn/rss/an-sinh.rss"
readme_path: "./docs/dantri/an-sinh.md"
rand_seed: "dantri-an-sinh"
- feed_list: "https://dantri.com.vn/rss/tam-diem.rss"
readme_path: "./docs/dantri/tam-diem.md"
rand_seed: "dantri-tam-diem"
- feed_list: "https://dantri.com.vn/rss/infographic.rss"
readme_path: "./docs/dantri/infographic.md"
rand_seed: "dantri-infographic"
- feed_list: "https://dantri.com.vn/rss/dnews.rss"
readme_path: "./docs/dantri/dnews.md"
rand_seed: "dantri-dnews"
- feed_list: "https://dantri.com.vn/rss/xo-so.rss"
readme_path: "./docs/dantri/xo-so.md"
rand_seed: "dantri-xo-so"
- feed_list: "https://dantri.com.vn/rss/su-kien.rss"
readme_path: "./docs/dantri/su-kien.md"
rand_seed: "dantri-su-kien"
- feed_list: "https://dantri.com.vn/rss/the-gioi.rss"
readme_path: "./docs/dantri/the-gioi.md"
rand_seed: "dantri-the-gioi"
- feed_list: "https://dantri.com.vn/rss/doi-song.rss"
readme_path: "./docs/dantri/doi-song.md"
rand_seed: "dantri-doi-song"
- feed_list: "https://dantri.com.vn/rss/lao-dong-viec-lam.rss"
readme_path: "./docs/dantri/lao-dong-viec-lam.md"
rand_seed: "dantri-lao-dong-viec-lam"
- feed_list: "https://dantri.com.vn/rss/tam-long-nhan-ai.rss"
readme_path: "./docs/dantri/tam-long-nhan-ai.md"
rand_seed: "dantri-tam-long-nhan-ai"
- feed_list: "https://dantri.com.vn/rss/bat-dong-san.rss"
readme_path: "./docs/dantri/bat-dong-san.md"
rand_seed: "dantri-bat-dong-san"
- feed_list: "https://dantri.com.vn/rss/du-lich.rss"
readme_path: "./docs/dantri/du-lich.md"
rand_seed: "dantri-du-lich"
- feed_list: "https://dantri.com.vn/rss/suc-khoe.rss"
readme_path: "./docs/dantri/suc-khoe.md"
rand_seed: "dantri-suc-khoe"
- feed_list: "https://dantri.com.vn/rss/o-to-xe-may.rss"
readme_path: "./docs/dantri/o-to-xe-may.md"
rand_seed: "dantri-o-to-xe-may"
- feed_list: "https://dantri.com.vn/rss/khoa-hoc-cong-nghe.rss"
readme_path: "./docs/dantri/khoa-hoc-cong-nghe.md"
rand_seed: "dantri-khoa-hoc-cong-nghe"
- feed_list: "https://dantri.com.vn/rss/ban-doc.rss"
readme_path: "./docs/dantri/ban-doc.md"
rand_seed: "dantri-ban-doc"
- feed_list: "https://dantri.com.vn/rss/dmagazine.rss"
readme_path: "./docs/dantri/dmagazine.md"
rand_seed: "dantri-dmagazine"
- feed_list: "https://dantri.com.vn/rss/photo-story.rss"
readme_path: "./docs/dantri/photo-story.md"
rand_seed: "dantri-photo-story"
- feed_list: "https://dantri.com.vn/rss/toa-dam-truc-tuyen.rss"
readme_path: "./docs/dantri/toa-dam-truc-tuyen.md"
rand_seed: "dantri-toa-dam-truc-tuyen"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull in DanTri 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 DanTri 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