哔咔漫画自动打哔咔 #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 哔咔漫画自动打哔咔 | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '01 04 * * *' | |
watch: | |
types: [started] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.repository.owner.id }} == ${{ github.event.sender.id }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: 'Set up Python' | |
uses: actions/setup-python@v5 | |
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}} | |
GOBOT_URL: ${{ secrets.GOBOT_URL }} | |
GOBOT_QQ: ${{ secrets.GOBOT_QQ }} | |
GOBOT_TOKEN: ${{ secrets.GOBOT_TOKEN}} | |
OS_TZ: ${{ secrets.OS_TZ }} | |
#最后推送 2021年4月22日 |