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 }}"}}'