Skip to content

Commit 7de3f9d

Browse files
author
YiniXu9506
committed
chore: add dispatch back
1 parent 9240af4 commit 7de3f9d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/dispatch.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
echo "::set-output name=repo::$(cut -d'/' -f2 <<< ${{ github.repository }})"
2121
echo "::set-output name=sha::$(sha=${{ github.sha }}; echo ${sha:0:6})"
2222
23-
# - name: Repository Dispatch
24-
# uses: peter-evans/repository-dispatch@v1.1.1
25-
# with:
26-
# token: ${{ secrets.PR_TRIGGER_BUILD_TOKEN }}
27-
# repository: pingcap/website-docs/
28-
# event-type: ${{ steps.extract_info.outputs.repo }}/${{ steps.extract_info.outputs.branch }}-${{ steps.extract_info.outputs.sha }}
29-
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "repo": "${{ github.repository }}"}'
23+
- name: Repository Dispatch
24+
uses: peter-evans/repository-dispatch@v1.1.1
25+
with:
26+
token: ${{ secrets.PR_TRIGGER_BUILD_TOKEN }}
27+
repository: pingcap/website-docs/
28+
event-type: ${{ steps.extract_info.outputs.repo }}/${{ steps.extract_info.outputs.branch }}-${{ steps.extract_info.outputs.sha }}
29+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "repo": "${{ github.repository }}"}'

0 commit comments

Comments
 (0)