fix: use compose.deploy with DOKPLOY_COMPOSE_ID for deploy step
Some checks failed
CI/CD / test (push) Failing after 39s
CI/CD / deploy (push) Has been skipped

This commit is contained in:
2026-01-30 04:25:30 +00:00
parent 5a4d7e0ba9
commit 91131302e6

View File

@@ -42,8 +42,8 @@ jobs:
steps: steps:
- name: Deploy to Dokploy - name: Deploy to Dokploy
run: | run: |
curl -fsSL -X POST "${{ secrets.DOKPLOY_URL }}/api/application.deploy" \ curl -fsSL -X POST "${{ secrets.DOKPLOY_URL }}/api/compose.deploy" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "x-api-key: ${{ secrets.DOKPLOY_API_TOKEN }}" \ -H "x-api-key: ${{ secrets.DOKPLOY_API_TOKEN }}" \
-d '{"applicationId": "${{ secrets.DOKPLOY_APP_ID }}"}' -d '{"composeId": "${{ secrets.DOKPLOY_COMPOSE_ID }}"}'
echo "Deploy triggered on Dokploy" echo "Deploy triggered on Dokploy"