Skip to content

Allows you to run this workflow manually from the Actions tab #1653

Allows you to run this workflow manually from the Actions tab

Allows you to run this workflow manually from the Actions tab #1653

Workflow file for this run

name: "Cronjob"
on:
schedule:
- cron: "*/5 * * * *"
push:
branches:
- "main"
workflow_dispatch:
jobs:
update-homepages:
name: Get ${{ matrix.rand_seed }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- feed_list: "https://vnexpress.net/rss/tin-moi-nhat.rss"
rand_seed: "vnexpress"
needs: ""
- feed_list: "https://dantri.com.vn/rss/home.rss"
rand_seed: "dantri"
needs: "vnexpress"
- feed_list: "https://thanhnien.vn/rss/home.rss"
rand_seed: "thanhnien"
needs: "dantri"
- feed_list: "https://laodong.vn/rss/home.rss"
rand_seed: "laodong"
needs: "thanhnien"
- feed_list: "https://nld.com.vn/rss/home.rss"
rand_seed: "nld"
needs: "laodong"
- feed_list: "https://www.sggp.org.vn/rss/home.rss"
rand_seed: "sggp"
needs: "nld"
- feed_list: "https://vtc.vn/rss/feed.rss"
rand_seed: "vtc"
needs: "sggp"
- feed_list: "https://baochinhphu.vn/home.rss"
rand_seed: "baochinhphu"
needs: "vtc"
- feed_list: "https://thuvienphapluat.vn/rss.xml"
rand_seed: "thuvienphapluat"
needs: "baochinhphu"
- feed_list: "https://muctim.tuoitre.vn/rss/home.rss"
rand_seed: "muctim"
needs: "thuvienphapluat"
- feed_list: "https://hoahoctro.tienphong.vn/rss/home.rss"
rand_seed: "hoahoctro"
needs: "muctim"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull in news
uses: ePlus-DEV/[email protected]
with:
retry_count: 5
readme_path: ./docs/index.md
feed_list: ${{ matrix.feed_list }}
committer_email: "[email protected]"
commit_message: "Get ${{ matrix.rand_seed }} news - ${{ github.run_number }} - ${{ github.run_id }} - ${{ 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: 50