Files
smzdm_script/.github/workflows/docker-run.yml
2023-02-18 23:28:29 +08:00

32 lines
781 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: SMZDM Check-in Docker Bot
on:
workflow_dispatch:
workflow_run:
workflows: ["Docker image release"]
types:
- completed
# UTC时间对应Beijing时间 930
# schedule:
# - cron: "30 1 * * *"
jobs:
container-test-job:
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