From 18bce313d6af5a3967de36ce69172518c975d27f Mon Sep 17 00:00:00 2001 From: YuukanOO Date: Mon, 1 May 2023 15:54:33 +0200 Subject: [PATCH] add drone file --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1e7c98e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +kind: pipeline +type: docker +name: default +steps: + - name: seelf-deploy + image: curlimages/curl + environment: + SEELF_API_KEY: + from_secret: seelf_api_key + commands: + - /bin/sh -c 'curl -X POST -H "Content-Type:application/json" -H "Authorization:Bearer $SEELF_API_KEY" -d "{\"environment\":\"staging\",\"git\":{\"branch\":\"master\"}}" https://seelf.voixdunet.com/api/v1/apps/2P5woMQ7sPQQMktVRl08wfJL6b5/deployments'