mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 21:58:03 +08:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: 喜马拉雅极速版
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '*/30 * * * * '
|
|
watch:
|
|
types: [ started ]
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: 'Set up Python'
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.7
|
|
|
|
- name: 'Install requirements'
|
|
run: pip install -r ./requirements.txt
|
|
|
|
- name: '运行【喜马拉雅极速版】'
|
|
run: python3 index.py
|
|
env:
|
|
IS_GITHUB_ACTION: true
|
|
ONLY_MESSAGE: xmly
|
|
DINGTALK_SECRET: ${{ secrets.DINGTALK_SECRET }}
|
|
DINGTALK_ACCESS_TOKEN: ${{secrets.DINGTALK_ACCESS_TOKEN}}
|
|
SCKEY: ${{secrets.SCKEY}}
|
|
SENDKEY: ${{secrets.SENDKEY}}
|
|
BARK_URL: ${{secrets.BARK_URL}}
|
|
QMSG_KEY: ${{secrets.QMSG_KEY}}
|
|
TG_BOT_TOKEN: ${{secrets.TG_BOT_TOKEN}}
|
|
TG_USER_ID: ${{secrets.TG_USER_ID}}
|
|
COOLPUSHSKEY: ${{secrets.COOLPUSHSKEY}}
|
|
COOLPUSHQQ: ${{secrets.COOLPUSHQQ}}
|
|
COOLPUSHWX: ${{secrets.COOLPUSHWX}}
|
|
COOLPUSHEMAIL: ${{secrets.COOLPUSHEMAIL}}
|
|
XMLY_COOKIE_LIST: ${{secrets.XMLY_COOKIE_LIST}}
|