Skip to content

Commit 7b890d5

Browse files
committed
1 parent 0addffc commit 7b890d5

5 files changed

Lines changed: 25 additions & 7 deletions

File tree

‎.github/workflows/jd_starStore.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
env:
1515
JD_COOKIE: ${{ secrets.JD_COOKIE }}
1616
steps:
17-
- uses: actions/checkout@v1
17+
- name: Checkout
18+
run: |
19+
git clone https://github.com/Sunert/Scripts.git ~/Scripts
1820
- name: Use Node.js 12.x
1921
uses: actions/setup-node@v1
2022
with:

‎.github/workflows/midu_read.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,21 @@ jobs:
1616
MIDU_TIME: ${{ secrets.MIDU_TIME }}
1717
MIDU_SIGN: ${{ secrets.MIDU_SIGN }}
1818
steps:
19-
- uses: actions/checkout@v1
19+
- name: Checkout
20+
run: |
21+
git clone https://github.com/Sunert/Scripts.git ~/Scripts
2022
- name: Use Node.js 12.x
2123
uses: actions/setup-node@v1
2224
with:
2325
node-version: 12.x
2426
- name: npm install
2527
run: |
28+
cd ~/Scripts
2629
npm install
2730
- name: '运行 【米读自动阅读】'
2831
if: env.MIDU_TOKEN
2932
run: |
33+
cd ~/Scripts
3034
node Task/midu_Read.js
3135
env:
3236
PUSH_KEY: ${{ secrets.PUSH_KEY }}

‎.github/workflows/txnews.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,21 @@ jobs:
2222
TXNEWS_COOKIE: ${{ secrets.TXNEWS_COOKIE }}
2323
TXNEWS_VIDEO: ${{ secrets.TXNEWS_VIDEO }}
2424
steps:
25-
- uses: actions/checkout@v1
25+
- name: Checkout
26+
run: |
27+
git clone https://github.com/Sunert/Scripts.git ~/Scripts
2628
- name: Use Node.js 12.x
2729
uses: actions/setup-node@v1
2830
with:
2931
node-version: 12.x
3032
- name: npm install
3133
run: |
34+
cd ~/Scripts
3235
npm install
3336
- name: '运行 【腾讯新闻】'
3437
if: env.TXNEWS_COOKIE
3538
run: |
39+
cd ~/Scripts
3640
node Task/txnews.js
3741
env:
3842
PUSH_KEY: ${{ secrets.PUSH_KEY }}

‎.github/workflows/weibo.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ jobs:
1515
WB_TOKEN: ${{ secrets.WB_TOKEN }}
1616
WB_PAY: ${{ secrets.WB_PAY }}
1717
steps:
18-
- uses: actions/checkout@v1
19-
- name: Use Node.js 14.x
18+
- name: Checkout
19+
run: |
20+
git clone https://github.com/Sunert/Scripts.git ~/Script
21+
- name: Use Node.js 12.x
2022
uses: actions/setup-node@v1
2123
with:
22-
node-version: 14.x
24+
node-version: 12.x
2325
- name: npm install
2426
if: env.WB_TOKEN
2527
run: |
28+
cd ~/Scripts
2629
npm install
2730
- name: '运行 【新浪微博】'
2831
if: env.WB_TOKEN
2932
run: |
33+
cd ~/Scripts
3034
node Task/weibo.js
3135
env:
3236
PUSH_KEY: ${{ secrets.PUSH_KEY }}

‎.github/workflows/youth.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,22 @@ jobs:
2020
YOUTH_REDBODY: ${{ secrets.YOUTH_REDBODY }}
2121
YOUTH_TIME: ${{ secrets.YOUTH_TIME }}
2222
steps:
23-
- uses: actions/checkout@v1
23+
- name: Checkout
24+
run: |
25+
git clone https://github.com/Sunert/Scripts.git ~/Scripts
2426
- name: Use Node.js 12.x
2527
uses: actions/setup-node@v1
2628
with:
2729
node-version: 12.x
2830
- name: npm install
2931
if: env.YOUTH_HEADER
3032
run: |
33+
cd ~/Scripts
3134
npm install
3235
- name: '运行 【中青看点】'
3336
if: env.YOUTH_HEADER
3437
run: |
38+
cd ~/Scripts
3539
node Task/youth.js
3640
env:
3741
YOUTH_NOTIFY_CONTROL: ${{ secrets.YOUTH_NOTIFY_CONTROL }}

0 commit comments

Comments
 (0)