mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-02-03 10:34:33 +08:00
Update actions
This commit is contained in:
28
.github/workflows/docker-run.yml
vendored
Normal file
28
.github/workflows/docker-run.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: SMZDM Check-in Docker Bot
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_run:
|
||||
workflows: ["Docker image release"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
# Uncomment below to schedule your job
|
||||
# schedule:
|
||||
# - cron: "0 18 * * *"
|
||||
|
||||
jobs:
|
||||
container-test-job:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: enwaiax/smzdm_bot
|
||||
env:
|
||||
SMZDM_COOKIE: ${{ secrets.SMZDM_COOKIE }}
|
||||
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
|
||||
Reference in New Issue
Block a user