docs: move ja-JP output to publish repo

This commit is contained in:
Peter Steinberger
2026-04-05 11:32:46 +01:00
parent 495ebd28a4
commit dbfd96f4ec
10 changed files with 70 additions and 423 deletions

View File

@@ -24,3 +24,16 @@ jobs:
-f client_payload[release_tag]="${RELEASE_TAG}" \
-f client_payload[source_repository]="${GITHUB_REPOSITORY}" \
-f client_payload[source_sha]="${GITHUB_SHA}"
- name: Trigger ja-JP translate in publish repo
env:
GH_TOKEN: ${{ secrets.OPENCLAW_DOCS_SYNC_TOKEN }}
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: |
set -euo pipefail
gh api repos/openclaw/docs/dispatches \
--method POST \
-f event_type='translate-ja-jp-release' \
-f client_payload[release_tag]="${RELEASE_TAG}" \
-f client_payload[source_repository]="${GITHUB_REPOSITORY}" \
-f client_payload[source_sha]="${GITHUB_SHA}"