add drone
This commit is contained in:
1 parent
f0648c5faa
commit
cf9e36da11
4 files changed
+21
-1
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: run-scheduled-task
|
||||
image: python:3.10
|
||||
commands:
|
||||
- pip install -r requirements.txt # 如果有依赖
|
||||
- python task.py
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
venv
|
||||
+1
-1
@@ -39,7 +39,7 @@ def check_domain_availability(domain_name):
|
||||
|
||||
except Exception as e:
|
||||
# print(f"域名: {domain_name} 可以注册")
|
||||
message = f"域名: {domain_name} 可以注册 **"
|
||||
message = f"域名: {domain_name} 可以注册, {e} **"
|
||||
return message
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
python-dateutil==2.9.0.post0
|
||||
python-whois==0.9.4
|
||||
six==1.16.0
|
||||
Reference in new issue
Block a user