Ajout fichier drone
This commit is contained in:
parent
a343756049
commit
5f5397c002
28
.drone.yml
Normal file
28
.drone.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: publish-python-drone-test
|
||||
|
||||
# Mise à jours lorsque la branche master est mise à jours
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: testcode
|
||||
image: python
|
||||
commands:
|
||||
- python tests.py
|
||||
# Notify discord that a new build is available
|
||||
- name: notify
|
||||
image: appleboy/drone-discord
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_id
|
||||
webhook_token:
|
||||
from_secret: discord_token
|
Loading…
Reference in New Issue
Block a user