Skip to content

Commit 2fabe57

Browse files
committed
2 parents 5b49f78 + 7fa8cb8 commit 2fabe57

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
labels: ${{ steps.meta-backend.outputs.labels }}
4848
cache-from: type=gha
4949
cache-to: type=gha,mode=max
50+
51+
- name: Trigger backend redeploy on Render
52+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
53+
run: |
54+
curl -X POST "${{ secrets.RENDER_BACKEND_DEPLOY_HOOK }}"
55+
env:
56+
RENDER_BACKEND_DEPLOY_HOOK: ${{ secrets.RENDER_BACKEND_DEPLOY_HOOK }}
5057

5158
build-frontend:
5259
runs-on: ubuntu-latest
@@ -84,4 +91,11 @@ jobs:
8491
tags: ${{ steps.meta-frontend.outputs.tags }}
8592
labels: ${{ steps.meta-frontend.outputs.labels }}
8693
cache-from: type=gha
87-
cache-to: type=gha,mode=max
94+
cache-to: type=gha,mode=max
95+
96+
- name: Trigger frontend redeploy on Render
97+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
98+
run: |
99+
curl -X POST "${{ secrets.RENDER_FRONTEND_DEPLOY_HOOK }}"
100+
env:
101+
RENDER_FRONTEND_DEPLOY_HOOK: ${{ secrets.RENDER_FRONTEND_DEPLOY_HOOK }}

0 commit comments

Comments
 (0)