notify hydra about push event

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-23 13:52:40 +01:00
parent b5618de5cc
commit a86c3518cc
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

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