Skip to content

Commit d244bf4

Browse files
author
ziye12
authored
Add files via upload
1 parent b61bd8e commit d244bf4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/zqdkgit.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+

0 commit comments

Comments
 (0)