From b4809f8242dc5de3be772d56b6ae7e1c6b8fbf60 Mon Sep 17 00:00:00 2001 From: 97WaterPolo Date: Thu, 7 Dec 2023 19:14:24 -0800 Subject: [PATCH 1/3] Update '.drone.yml' Added webhook to deploy any new changes through portainer --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 05ec342..f7a3156 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,10 +44,7 @@ steps: - name: deploy-containers image: curlimages/curl commands: - - "curl -H \"Authorization: Bearer $WATCHTOWER_TOKEN\" 192.168.68.114:8080/v1/update" - environment: - WATCHTOWER_TOKEN: - from_secret: watchtower_secret + - "curl https://sgdvinfra001.prd.siglerdev.us:9443/api/stacks/webhooks/067a0369-369d-49a3-a66a-d942462b6118" depends_on: - build-advent-of-code From 7c63f8834fac5bee6bf5c496a0e242e34c87eab6 Mon Sep 17 00:00:00 2001 From: 97WaterPolo Date: Thu, 7 Dec 2023 19:19:35 -0800 Subject: [PATCH 2/3] Update '.drone.yml' --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f7a3156..dbe0881 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,7 +44,7 @@ steps: - name: deploy-containers image: curlimages/curl commands: - - "curl https://sgdvinfra001.prd.siglerdev.us:9443/api/stacks/webhooks/067a0369-369d-49a3-a66a-d942462b6118" + - "curl -k https://sgdvinfra001.prd.siglerdev.us:9443/api/stacks/webhooks/067a0369-369d-49a3-a66a-d942462b6118" depends_on: - build-advent-of-code From 88e48d853e4f3e27b69b13e32736cdc8caa88574 Mon Sep 17 00:00:00 2001 From: 97WaterPolo Date: Thu, 7 Dec 2023 22:39:52 -0800 Subject: [PATCH 3/3] Update '.drone.yml' --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index dbe0881..566e2f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,7 +44,7 @@ steps: - name: deploy-containers image: curlimages/curl commands: - - "curl -k https://sgdvinfra001.prd.siglerdev.us:9443/api/stacks/webhooks/067a0369-369d-49a3-a66a-d942462b6118" + - "curl -X POST -k https://sgdvinfra001.prd.siglerdev.us:9443/api/stacks/webhooks/067a0369-369d-49a3-a66a-d942462b6118" depends_on: - build-advent-of-code