forked from MayoBlueSky/My-Actions
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.53 KB
/
bika.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: 哔咔漫画自动打哔咔
on:
workflow_dispatch:
schedule:
- cron: "00 00 * * *"
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id || ! github.event.sender.id || github.actor == 'BlueSkyClouds'
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "初始化Python"
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: "安装依赖包"
run: pip install -r ./requirements.txt
- name: "运行 哔咔漫画自动打哔咔"
run: python3 function/bika/bika.py
env:
BIKA_USER: ${{ secrets.BIKA_USER }}
BIKA_PASS: ${{ secrets.BIKA_PASS }}
SEND_KEY: ${{ secrets.SEND_KEY }}
PUSH_KEY: ${{ secrets.PUSH_KEY }}
BARK_PUSH: ${{ secrets.BARK_PUSH }}
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN}}
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER}}
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
TG_USER_ID: ${{ secrets.TG_USER_ID }}
BARK_SOUND: ${{ secrets.BARK_SOUND }}
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
QYWX_AM: ${{ secrets.QYWX_AM}}
#最后推送 2021年9月20日