Compare commits

..

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

View file

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