add drone file

This commit is contained in:
YuukanOO 2023-05-01 15:54:33 +02:00
parent 2cc48ef224
commit da508ed75c

11
.drone.yml Normal file
View File

@ -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'