diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..15cb10a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +--- +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