From da508ed75cad9dcb4ac5875c247b010b2bb149bd 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..747e359 --- /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 -i -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'