Files
smzdm_script/.github/workflows/checkin.yml
2023-02-19 02:12:49 +08:00

32 lines
736 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Check in
on:
workflow_dispatch:
workflow_run:
workflows: ["Build image"]
types:
- completed
# UTC时间对应Beijing时间 830
schedule:
- cron: "30 0 * * *"
jobs:
run:
runs-on: ubuntu-latest
container:
image: enwaiax/smzdm_bot
env:
ANDROID_COOKIE: ${{ secrets.ANDROID_COOKIE }}
TOKEN: ${{ secrets.TOKEN }}
SK: ${{ secrets.SK }}
USER_AGENT: ${{ secrets.USER_AGENT }}
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN }}
SC_KEY: ${{ secrets.SC_KEY }}
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
TG_USER_ID: ${{ secrets.TG_USER_ID }}
steps:
- name: Working
run: |
python /smzdm_bot/main.py