From a469f1cad6b84e7c057f4d4febb70846b1a71143 Mon Sep 17 00:00:00 2001 From: Suhaha Date: Mon, 6 Jul 2026 22:29:32 +0800 Subject: [PATCH] Add trigger for docs-staging nextgen workflow Added a step to trigger the nextgen workflow in docs-staging. --- .github/workflows/dispatch.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 38a0a87082234..f7063131c87bc 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -39,3 +39,12 @@ jobs: -H "Authorization: token ${{ secrets.DOCS_STAGING }}" \ https://api.github.com/repos/pingcap/docs-staging/actions/workflows/update.yml/dispatches \ -d '{"ref":"main","inputs":{"full": "false", "repo":"${{ github.repository }}","branch":"${{ github.ref_name }}"}}' + + - name: trigger docs-staging nextgen workflow + run: | + curl \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: token ${{ secrets.DOCS_STAGING }}" \ + https://api.github.com/repos/pingcap/docs-staging/actions/workflows/update-nextgen.yml/dispatches \ + -d '{"ref":"nextgen","inputs":{"full": "false", "repo":"${{ github.repository }}","branch":"${{ github.ref_name }}"}}'