diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3955f2bb5..9c39e91c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,3 +47,11 @@ jobs: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }} run: | poetry publish + + - name: Trigger build and push on langchain-serve + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.DEEPANKAR_GITHUB_TOKEN }} # TODO: repo authors need to create a PAT and add it to secrets + repository: jina-ai/langchain-serve + event-type: langflow-push + client-payload: '{"push_token": "${{ secrets.LCSERVE_PUSH_TOKEN }}", "branch": "dev"}' # TODO: repo authors need to store `LCSERVE_PUSH_TOKEN` in secrets