Compare commits

..

No commits in common. "2e085fc7c75e94c4ac09afc1dc4374b86b99f835" and "d683f8803820030b526a34799a3dace2feceb7f7" have entirely different histories.

View file

@ -11,7 +11,8 @@ variables:
when:
- event: [push, pull_request]
branch: [main, dev, feature/*]
branch: [main, develop]
- event: pull_request
steps:
# ── Build & Test ──────────────────────────────────────────────
@ -48,20 +49,20 @@ steps:
- event: push
branch: main
# ── Notify Coolify (deploy webhook) — dev only ──────────────
- name: deploy-dev
# ── Notify Coolify (deploy webhook) — develop only ────────────
- name: deploy-develop
image: curlimages/curl:latest
environment:
COOLIFY_WEBHOOK:
from_secret: COOLIFY_WEBHOOK_DEV
from_secret: COOLIFY_WEBHOOK_DEVELOP
COOLIFY_TOKEN:
from_secret: COOLIFY_TOKEN
commands:
- >
curl -fsSX GET "$COOLIFY_WEBHOOK"
-H "Authorization: Bearer $COOLIFY_TOKEN"
&& echo "Coolify deploy triggered (dev)"
&& echo "Coolify deploy triggered (develop)"
|| echo "WARNING: Coolify webhook failed"
when:
- event: push
branch: dev
branch: develop