From e3b120464a7ea491af74b3177d294f4d5955ed04 Mon Sep 17 00:00:00 2001 From: Philipp Glaum Date: Thu, 13 Jul 2023 15:10:33 +0200 Subject: [PATCH] add drone file --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .drone.yml 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