improving release automation
This commit is contained in:
parent
918d27b691
commit
d971fe0df3
|
|
@ -80,6 +80,7 @@ jobs:
|
|||
if: steps.git-check.outputs.changed == 'true'
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
repository: langchain4j/langchain4j
|
||||
event-type: trigger-docs-build-and-deploy
|
||||
|
||||
|
|
@ -87,5 +88,6 @@ jobs:
|
|||
if: steps.git-check.outputs.changed == 'true'
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
repository: langchain4j/langchain4j
|
||||
event-type: trigger-docs-update-chatbot
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
with:
|
||||
ref: ${{ env.BRANCH }}
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION_MAIN_REPO }}
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
|
||||
- name: Set up JDK 25
|
||||
uses: actions/setup-java@v5
|
||||
|
|
@ -145,6 +145,7 @@ jobs:
|
|||
- name: Trigger release in the langchain4j/langchain4j-spring repo
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
repository: langchain4j/langchain4j-spring
|
||||
event-type: trigger-release
|
||||
client-payload: |
|
||||
|
|
|
|||
|
|
@ -37,5 +37,6 @@ jobs:
|
|||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
repository: langchain4j/langchain4j-spring
|
||||
event-type: trigger-snapshot-release
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ jobs:
|
|||
- name: Trigger the same job in the langchain4j-spring repo
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_RELEASE_AUTOMATION }}
|
||||
repository: langchain4j/langchain4j-spring
|
||||
event-type: trigger-update-versions-next-dev-iteration
|
||||
client-payload: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue