From 15f9fa410b30cd82079532999f50c460c269c6a4 Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 3 Oct 2023 14:41:59 -0500 Subject: [PATCH] Set branch_filter correctly --- deploy/portainer/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/portainer/deploy.py b/deploy/portainer/deploy.py index 583e291..c64d9f8 100644 --- a/deploy/portainer/deploy.py +++ b/deploy/portainer/deploy.py @@ -132,7 +132,7 @@ owner = repo_parts[0] repo = repo_parts[1] ref_parts = deploy_ref.strip('/').split('/') -branch = ref_parts[2] +branch = ref_parts[-1] webhook_payload = { "type": "gitea",