File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
5+ name : ttwkziye
6+
7+ on :
8+ workflow_dispatch :
9+ schedule :
10+ - cron : ' 5 18 * * *'
11+ watch :
12+ types : started
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ if : github.event.repository.owner.id == github.event.sender.id
17+ env :
18+ ZFBWK_HEADER : ${{ secrets.ZFBWK_HEADER }}
19+ ZFBWK_BODY : ${{ secrets.ZFBWK_BODY }}
20+ steps :
21+ - uses : actions/checkout@v1
22+ - name : Use Node.js 14.x
23+ uses : actions/setup-node@v1
24+ with :
25+ node-version : 14.x
26+ - name : npm install
27+ if : env.ZFBWK_HEADER
28+ run : |
29+ npm install
30+ - name : ' 运行 【支付宝挖矿】'
31+ if : env.ZFBWK_HEADER
32+ run : |
33+ node Task/ttwkziye.js
34+ env :
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+ DD_BOT_TOKEN : ${{ secrets.DD_BOT_TOKEN }}
41+ DD_BOT_SECRET : ${{ secrets.DD_BOT_SECRET }}
42+
43+
You can’t perform that action at this time.
0 commit comments