ci: test lcserve push job (#333)
This commit is contained in:
commit
59d0c5cbce
1 changed files with 17 additions and 0 deletions
17
.github/workflows/test-lcserve-push.yml
vendored
Normal file
17
.github/workflows/test-lcserve-push.yml
vendored
Normal 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"}'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue