2020-12-10 12:25:45 +08:00
|
|
|
name: 喜马拉雅极速版
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '*/30 * * * * '
|
|
|
|
watch:
|
|
|
|
types: [ started ]
|
|
|
|
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 喜马拉雅极速版'
|
|
|
|
run: python3 index.py
|
|
|
|
env:
|
|
|
|
IS_GITHUB_ACTION: true
|
2020-12-10 12:37:16 +08:00
|
|
|
ONLY_XMLY: xmly
|
2020-12-10 12:25:45 +08:00
|
|
|
DINGTALK_SECRET: ${{ secrets.DINGTALK_SECRET }}
|
|
|
|
DINGTALK_ACCESS_TOKEN: ${{secrets.DINGTALK_ACCESS_TOKEN}}
|
|
|
|
SCKEY: ${{secrets.SCKEY}}
|
|
|
|
TG_BOT_TOKEN: ${{secrets.TG_BOT_TOKEN}}
|
|
|
|
TG_USER_ID: ${{secrets.TG_USER_ID}}
|
|
|
|
QMSG_KEY: ${{secrets.QMSG_KEY}}
|
|
|
|
MOTTO: ${{secrets.MOTTO}}
|
|
|
|
IQIYI_COOKIE_LIST: ${{secrets.IQIYI_COOKIE_LIST}}
|
|
|
|
BAIDU_URL_SUBMIT_LIST: ${{secrets.BAIDU_URL_SUBMIT_LIST}}
|
|
|
|
VQQ_COOKIE_LIST: ${{secrets.VQQ_COOKIE_LIST}}
|
|
|
|
YOUDAO_COOKIE_LIST: ${{secrets.YOUDAO_COOKIE_LIST}}
|
|
|
|
POJIE_COOKIE_LIST: ${{secrets.POJIE_COOKIE_LIST}}
|
|
|
|
KGQQ_COOKIE_LIST: ${{secrets.KGQQ_COOKIE_LIST}}
|
|
|
|
MUSIC163_ACCOUNT_LIST: ${{secrets.MUSIC163_ACCOUNT_LIST}}
|
|
|
|
CITY_NAME_LIST: ${{secrets.CITY_NAME_LIST}}
|
|
|
|
XMLY_COOKIE_LIST: ${{secrets.XMLY_COOKIE_LIST}}
|