Skip to content

Commit 920d76d

Browse files
author
ziye12
authored
Add files via upload
1 parent cd5cc9f commit 920d76d

File tree

4 files changed

+153
-0
lines changed

4 files changed

+153
-0
lines changed

.github/workflows/jingxi.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
name: jingxi
3+
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '5 23 * * *'
8+
watch:
9+
types: started
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
if: github.event.repository.owner.id == github.event.sender.id
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js 10.x
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 10.x
20+
- name: npm install
21+
run: |
22+
npm install
23+
- name: '运行 【京喜】'
24+
run: |
25+
node Task/jingxi.js
26+
env:
27+
JD_COOKIE: ${{ secrets.JD_COOKIE }}
28+
PUSH_KEY: ${{ secrets.PUSH_KEY }}
29+
BARK_PUSH: ${{ secrets.BARK_PUSH }}
30+
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
31+
TG_USER_ID: ${{ secrets.TG_USER_ID }}
32+
BARK_SOUND: ${{ secrets.BARK_SOUND }}

.github/workflows/txnews.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
# push:
4+
# branches:
5+
# - master
6+
7+
name: txnews
8+
9+
on:
10+
workflow_dispatch:
11+
schedule:
12+
- cron: '*/7 1-14 * * *'
13+
watch:
14+
types: started
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
if: github.event.repository.owner.id == github.event.sender.id
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Node.js 10.x
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: 10.x
26+
- name: npm install
27+
run: |
28+
npm install
29+
- name: '运行 【腾讯新闻】'
30+
run: |
31+
node Task/txnews.js
32+
env:
33+
TXNEWS_SIGN: ${{ secrets.TXNEWS_SIGN }}
34+
TXNEWS_COOKIE: ${{ secrets.TXNEWS_COOKIE }}
35+
TXNEWS_VIDEO: ${{ secrets.TXNEWS_VIDEO }}
36+
PUSH_KEY: ${{ secrets.PUSH_KEY }}
37+
BARK_PUSH: ${{ secrets.BARK_PUSH }}
38+
TXNEWS_NOTIFY_CONTROL: ${{ secrets.TXNEWS_NOTIFY_CONTROL }}
39+
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
40+
TG_USER_ID: ${{ secrets.TG_USER_ID }}
41+
BARK_SOUND: ${{ secrets.BARK_SOUND }}
42+

.github/workflows/youth.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: youth
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '*/14 * * * *'
10+
watch:
11+
types: started
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
if: github.event.repository.owner.id == github.event.sender.id
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js 10.x
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: 10.x
23+
- name: npm install
24+
run: |
25+
npm install
26+
- name: '运行 【中青看点】'
27+
run: |
28+
node Task/youth.js
29+
env:
30+
YOUTH_HEADER: ${{ secrets.YOUTH_HEADER }}
31+
YOUTH_ARTBODY: ${{ secrets.YOUTH_ARTBODY }}
32+
YOUTH_REDBODY: ${{ secrets.YOUTH_REDBODY }}
33+
YOUTH_TIME: ${{ secrets.YOUTH_TIME }}
34+
YOUTH_NOTIFY_CONTROL: ${{ secrets.YOUTH_NOTIFY_CONTROL }}
35+
PUSH_KEY: ${{ secrets.PUSH_KEY }}
36+
BARK_PUSH: ${{ secrets.BARK_PUSH }}
37+
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
38+
TG_USER_ID: ${{ secrets.TG_USER_ID }}
39+
BARK_SOUND: ${{ secrets.BARK_SOUND }}
40+
41+
42+

.github/workflows/youth_read.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: youth_read
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '*/29 19-23 * * *'
10+
watch:
11+
types: started
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
if: github.event.repository.owner.id == github.event.sender.id
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Use Node.js 10.x
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 10.x
22+
- name: npm install
23+
run: |
24+
npm install
25+
- name: '运行 【中青看点自动阅读】'
26+
run: |
27+
node Task/Youth_Read.js
28+
env:
29+
YOUTH_READ: ${{ secrets.YOUTH_READ }}
30+
PUSH_KEY: ${{ secrets.PUSH_KEY }}
31+
BARK_PUSH: ${{ secrets.BARK_PUSH }}
32+
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
33+
TG_USER_ID: ${{ secrets.TG_USER_ID }}
34+
BARK_SOUND: ${{ secrets.BARK_SOUND }}
35+
36+
37+

0 commit comments

Comments
 (0)