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'