Ajout fichier drone

This commit is contained in:
Benjamin Lejeune 2022-10-10 11:19:18 +02:00
parent a343756049
commit 5f5397c002

28
.drone.yml Normal file
View 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