-
-
Notifications
You must be signed in to change notification settings - Fork 0
109 lines (106 loc) · 5.45 KB
/
vnexpress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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