go-api-example/.drone.yml
Julien Leicher dcb432c572
All checks were successful
continuous-integration/drone/push Build is passing
Mise à jour de '.drone.yml'
2023-05-17 16:44:13 +02:00

12 lines
477 B
YAML

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\":\"$DRONE_BRANCH\",\"hash\":\"$DRONE_COMMIT\"}}" https://seelf.voixdunet.com/api/v1/apps/2PvP5liIhcMn59yo5q6m53QWWXM/deployments'