19 lines
303 B
YAML
19 lines
303 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: portainer redeploy
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
- push
|
||
|
|
||
|
steps:
|
||
|
- name: send redeploy
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- apk update && apk add curl
|
||
|
- curl -X POST "$PORTAINER_WEBHOOK"
|
||
|
environment:
|
||
|
PORTAINER_WEBHOOK:
|
||
|
from_secret: PORTAINER_WEBHOOK
|