From b0228d021e524a8eaf1760f58b74b623ea6ef64a Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Fri, 29 Dec 2023 15:11:58 +0530 Subject: [PATCH] chore: add render hook in web to auto-deploy --- .github/workflows/web.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/web.yaml b/.github/workflows/web.yaml index 4ef19a20..ba9412f8 100644 --- a/.github/workflows/web.yaml +++ b/.github/workflows/web.yaml @@ -57,3 +57,13 @@ jobs: - name: Push Docker image run: docker push keyshade/keyshade-web + + deploy: + needs: build + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + name: Deploy to Render + + steps: + - name: deploy + run: curl ${{ secrets.RENDER_WEB_DEPLOY_HOOK }}