mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 13:48:03 +08:00
Create main.yml
This commit is contained in:
parent
4f707a7cee
commit
6ecc16540e
41
.github/workflows/main.yml
vendored
Normal file
41
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
name: 每日签到合集
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '45 8 * * * '
|
||||
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
|
||||
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}}
|
Loading…
Reference in New Issue
Block a user