ci: test lcserve push job (#333)

This commit is contained in:
Deepankar Mahapatro 2023-05-23 20:22:09 +05:30 committed by GitHub
commit 59d0c5cbce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/workflows/test-lcserve-push.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Trigger build and push on langchain-serve
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger build and push on langchain-serve
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.SERVE_GITHUB_TOKEN }}
repository: jina-ai/langchain-serve
event-type: langflow-push
client-payload: '{"push_token": "${{ secrets.LCSERVE_PUSH_TOKEN }}", "branch": "dev"}'