From 1f90dce6bec9335badf2aa61ffca5ace209fad5b Mon Sep 17 00:00:00 2001 From: YiniXu9506 Date: Wed, 8 Sep 2021 11:56:25 +0800 Subject: [PATCH] chore: add dispatch back --- .github/workflows/dispatch.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 357fe310ad6c..ae68daab5c86 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -20,10 +20,10 @@ jobs: echo "::set-output name=repo::$(cut -d'/' -f2 <<< ${{ github.repository }})" echo "::set-output name=sha::$(sha=${{ github.sha }}; echo ${sha:0:6})" - # - name: Repository Dispatch - # uses: peter-evans/repository-dispatch@v1.1.1 - # with: - # token: ${{ secrets.PR_TRIGGER_BUILD_TOKEN }} - # repository: pingcap/website-docs/ - # event-type: ${{ steps.extract_info.outputs.repo }}/${{ steps.extract_info.outputs.branch }}-${{ steps.extract_info.outputs.sha }} - # client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "repo": "${{ github.repository }}"}' \ No newline at end of file + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v1.1.1 + with: + token: ${{ secrets.PR_TRIGGER_BUILD_TOKEN }} + repository: pingcap/website-docs/ + event-type: ${{ steps.extract_info.outputs.repo }}/${{ steps.extract_info.outputs.branch }}-${{ steps.extract_info.outputs.sha }} + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "repo": "${{ github.repository }}"}' \ No newline at end of file