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