We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2841659 commit 024104fCopy full SHA for 024104f
1 file changed
.github/workflows/ci.yml
@@ -110,3 +110,18 @@ jobs:
110
severity: HIGH,CRITICAL
111
exit-code: "1"
112
format: table
113
+
114
+ # ── Deploy to Render ─────────────────────────────────────────────────────────
115
+ # Only runs if ALL previous jobs pass. Triggers Render backend deploy via hook.
116
+ deploy:
117
+ name: Deploy backend to Render
118
+ runs-on: ubuntu-latest
119
+ needs: [backend, frontend, trivy-fs, trivy-image]
120
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
121
+ steps:
122
+ - name: Trigger Render deploy
123
+ run: |
124
+ curl -X POST "${{ secrets.RENDER_DEPLOY_HOOK_URL }}" \
125
+ --fail \
126
+ --silent \
127
+ --show-error
0 commit comments