ci: test push trigger
This commit is contained in:
parent
2eec5fb3a7
commit
d982897a41
1 changed files with 20 additions and 0 deletions
20
.github/workflows/test-push.yml
vendored
Normal file
20
.github/workflows/test-push.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: test-push
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger-image-push-lc-serve:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger build and push on langchain-serve
|
||||||
|
uses: peter-evans/repository-dispatch@v2
|
||||||
|
with:
|
||||||
|
repository: jina-ai/langchain-serve
|
||||||
|
event-type: langflow-push
|
||||||
|
client-payload: '{"push_token": "${{ env.LANGFLOW_PUSH_TOKEN }}", "branch": "dev"}'
|
||||||
|
env:
|
||||||
|
LANGFLOW_PUSH_TOKEN: ${{ secrets.LCSERVE_PUSH_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue