19 lines
344 B
YAML
19 lines
344 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: run-scheduled-task
|
|
image: python:3.10
|
|
commands:
|
|
- pip install -r requirements.txt -i https://mirrors.ustc.edu.cn/pypi/simple --trusted-host mirrors.ustc.edu.cn
|
|
- python contact-xbot.py
|
|
|
|
trigger:
|
|
branch:
|
|
include:
|
|
- main
|
|
event:
|
|
- cron
|
|
- push
|