ci: trigger Dokploy redeploy via API after image push
Build and Deploy Spring Boot Server / build (push) Failing after 1m48s

This commit is contained in:
2026-05-10 23:38:07 +02:00
parent 8381cdbffa
commit b42980200d
+6 -2
View File
@@ -47,7 +47,11 @@ jobs:
cache-from: type=registry,ref=tea.zendric.de/cedric/xpensely-server:buildcache
cache-to: type=registry,ref=tea.zendric.de/cedric/xpensely-server:buildcache,mode=max
# 8. Trigger Dokploy to redeploy the dev server automatically
# 8. Trigger Dokploy to redeploy the dev server automatically via API
- name: Trigger Dokploy Redeploy
run: |
curl -X POST "${{ secrets.DOKPLOY_WEBHOOK_URL }}" --fail
curl -X POST "https://dokploy.zendric.de/api/compose.redeploy" \
-H "Content-Type: application/json" \
-H "x-api-key: ${{ secrets.DOKPLOY_API_TOKEN }}" \
-d "{\"composeId\": \"${{ secrets.DOKPLOY_COMPOSE_ID }}\"}" \
--fail