From b96652d2a80d228b7b2d1de36f4b6de79fc8d933 Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Mon, 22 Aug 2022 03:06:12 +1200 Subject: [PATCH] yaml parsing gymnastics --- .woodpecker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index c55abba..c3c4d66 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -74,8 +74,9 @@ pipeline: - source: WATCHTOWER_HTTP_API_TOKEN target: WATCHTOWER_HTTP_API_TOKEN commands: -# - /bin/sh /git/pipeline/trigger-watchtower.sh - - curl -H "Authorization: Bearer $${WATCHTOWER_HTTP_API_TOKEN}" -i "https://$${WATCHTOWER_HOST}/v1/update" + - HEADER='Authorization:' + - HEADER=$HEADER" Bearer $WATCHTOWER_HTTP_API_TOKEN" + - curl -H $HEADER -i "https://$${WATCHTOWER_HOST}/v1/update" notify-matrix: image: code.balsillie.net/containers/woodpecker-util