Skip to content

Commit

Permalink
ci: add deploy hook for app and parser
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Mar 18, 2024
1 parent 6067ca2 commit 32446fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 32446fc

Please sign in to comment.