diff --git a/.drone.yml b/.drone.yml index 128a6f7..cf6fe1b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,9 +32,20 @@ steps: branch: exclude: - main + +- name: redeploy on portainer + image: plugins/webhook + settings: + urls: [ "https://portainer.kucharczyk.xyz/api/webhooks/${ID} "] + depends_on: + - "build container (non-prod)" + environment: + ID: + from_secret: PORTAINER_TIMETRACKER_WEBHOOK_ID + trigger: event: - push - - cron \ No newline at end of file + - cron