chore: fix colify curl in action
This commit is contained in:
@@ -32,8 +32,8 @@ jobs:
|
|||||||
- name: Trigger Coolify Staging Deploy
|
- name: Trigger Coolify Staging Deploy
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \
|
--header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}' \
|
||||||
"${{ secrets.COOLIFY_URL }}/api/v1/applications/${{ secrets.COOLIFY_STAGING_APP_ID }}/deploy"
|
"${{ secrets.COOLIFY_URL }}/api/v1/deploy?uuid=${{ secrets.COOLIFY_STAGING_APP_UUID }}&force=true"
|
||||||
|
|
||||||
deploy-prod:
|
deploy-prod:
|
||||||
needs: test
|
needs: test
|
||||||
@@ -42,6 +42,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Trigger Coolify Production Deploy
|
- name: Trigger Coolify Production Deploy
|
||||||
run: |
|
run: |
|
||||||
|
# Deploy using application UUID
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \
|
--header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}' \
|
||||||
"${{ secrets.COOLIFY_URL }}/api/v1/applications/${{ secrets.COOLIFY_PROD_APP_ID }}/deploy"
|
"${{ secrets.COOLIFY_URL }}/api/v1/deploy?uuid=${{ secrets.COOLIFY_PROD_APP_UUID }}&force=true"
|
||||||
Reference in New Issue
Block a user