Skip to content

Commit 3fb5bd9

Browse files
committed
cambios workflow
1 parent 8aab25a commit 3fb5bd9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,14 @@ jobs:
4747
run: ./mvnw clean verify
4848
env:
4949
DB_USER: ${{ secrets.DB_USER }}
50-
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
50+
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
51+
52+
- name: Render Deploy via API
53+
env:
54+
RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}
55+
RENDER_SERVICE_ID: ${{ secrets.RENDER_SERVICE_ID }}
56+
run: |
57+
curl -X POST "https://api.render.com/v1/services/$RENDER_SERVICE_ID/deploys" \
58+
-H "Accept: application/json" \
59+
-H "Authorization: Bearer $RENDER_API_KEY" \
60+
-H "Content-Type: application/json"

0 commit comments

Comments
 (0)