From c49c3104180c15c374f0bf66e50662d768bf7e9b Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 8 Feb 2026 13:44:52 +0100 Subject: [PATCH] ffs --- .woodpecker.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9b6e9ac..baff333 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -31,9 +31,15 @@ steps: deploy-to-stage: image: curlimages/curl:latest + environment: + # Key: The name in your script ($COOLIFY_STAGE_DEPLOY_TOKEN) + # Value: The name of the secret in Woodpecker's UI + COOLIFY_STAGE_DEPLOY_TOKEN: + from_secret: COOLIFY_STAGE_DEPLOY_TOKEN + COOLIFY_STAGE_DEPLOY_WEBHOOK: + from_secret: COOLIFY_STAGE_DEPLOY_WEBHOOK commands: - | curl -H "Authorization: Bearer $${COOLIFY_STAGE_DEPLOY_TOKEN}" \ -X POST \ - -F "image=registry.coolify1.workaround.org/debshots:${CI_COMMIT_SHA:0:7}" \ "$${COOLIFY_STAGE_DEPLOY_WEBHOOK}"