21 lines
349 B
YAML
21 lines
349 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 check-reg-domain.py
|
|
|
|
trigger:
|
|
branch:
|
|
include:
|
|
- main
|
|
event:
|
|
- cron
|
|
- push
|
|
|
|
|