From 32446fce2a469e86d7cea3d54d11c7203863977e Mon Sep 17 00:00:00 2001 From: tylerslaton Date: Mon, 18 Mar 2024 13:56:22 -0400 Subject: [PATCH] ci: add deploy hook for app and parser Signed-off-by: tylerslaton --- .github/workflows/release.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 590936f..350db98 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,6 +26,13 @@ jobs: context: . push: true tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }} + + - name: Deploy + if: github.ref == 'refs/heads/main' + env: + deploy_url: ${{ secrets.RENDER_DEPLOY_APP_HOOK_URL }} + run: | + curl "$deploy_url" build_push_parser: runs-on: ubuntu-latest @@ -46,6 +53,13 @@ jobs: context: ./parser push: true tags: ghcr.io/${{ github.repository }}/parser:${{ github.ref_name }} + + - name: Deploy + if: github.ref == 'refs/heads/main' + env: + deploy_url: ${{ secrets.RENDER_DEPLOY_PARSER_HOOK_URL }} + run: | + curl "$deploy_url" build_push_indexer: runs-on: ubuntu-latest