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