From a6022cc725be10402a57a4d3173e5eb2da2783d9 Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:20:35 +0200 Subject: [PATCH] feat: implement automatic deploy to coolify instance --- .woodpecker/deploy.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 4e0a38b..51cd141 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -17,16 +17,16 @@ steps: dockerfile: "Dockerfile" tags: sha-${CI_COMMIT_SHA},latest - # deploy: - # image: alpine:latest - # environment: - # DEPLOY_URL: - # from_secret: COOLIFY_DEPLOY_WEBHOOK - # DEPLOY_TOKEN: - # from_secret: COOLIFY_DEPLOY_API_TOKEN - # commands: - # - apk add --no-cache curl - # - | - # curl --request GET "$${DEPLOY_URL}" \ - # --header "Authorization: Bearer $${DEPLOY_TOKEN}" \ - # --header "Content-Type: application/json" + deploy: + image: alpine:latest + environment: + DEPLOY_URL: + from_secret: COOLIFY_DEPLOY_WEBHOOK + DEPLOY_TOKEN: + from_secret: COOLIFY_DEPLOY_API_TOKEN + commands: + - apk add --no-cache curl + - | + curl --request GET "$DEPLOY_URL" \ + --header "Authorization: Bearer $DEPLOY_TOKEN" \ + --header "Content-Type: application/json"