Compare commits
1 Commits
5a4d7e0ba9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 91131302e6 |
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user