From 5f5397c0027f607aef13bfdc9efab2d54bc79415 Mon Sep 17 00:00:00 2001 From: Bentozox Date: Mon, 10 Oct 2022 11:19:18 +0200 Subject: [PATCH] Ajout fichier drone --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..11dede6 --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file