File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 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 : zqdkgit
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/zqdkgit.js
29+ env :
30+ ZQDK_URL : ${{ secrets.ZQDK_URL }}
31+ PUSH_KEY : ${{ secrets.PUSH_KEY }}
32+ BARK_PUSH : ${{ secrets.BARK_PUSH }}
33+ TG_BOT_TOKEN : ${{ secrets.TG_BOT_TOKEN }}
34+ TG_USER_ID : ${{ secrets.TG_USER_ID }}
35+ BARK_SOUND : ${{ secrets.BARK_SOUND }}
36+
37+
38+
You can’t perform that action at this time.
0 commit comments