notify hydra about push event
This commit is contained in:
parent
b5618de5cc
commit
a86c3518cc
1 changed files with 15 additions and 0 deletions
15
.drone.yml
15
.drone.yml
|
@ -60,3 +60,18 @@ trigger:
|
|||
- cron
|
||||
cron:
|
||||
- updater
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: hydra-deploy
|
||||
|
||||
steps:
|
||||
- name: Notify hydra
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add curl
|
||||
- curl --get --data-urlencode "repos=git+$DRONE_GIT_HTTP_URL?ref=$DRONE_COMMIT_BRANCH" https://hydra.chir.rs/api/push
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
|
Loading…
Reference in a new issue