mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Engel Nyst <engel.nyst@gmail.com> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
24 lines
577 B
YAML
24 lines
577 B
YAML
name: Dispatch to docs repo
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'docs/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
dispatch:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
repo: ["OpenHands/docs"]
|
|
steps:
|
|
- name: Push to docs repo
|
|
uses: peter-evans/repository-dispatch@v3
|
|
with:
|
|
token: ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}
|
|
repository: ${{ matrix.repo }}
|
|
event-type: update
|
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "openhands", "branch": "main"}'
|