Skip to content

Commit

Permalink
chore: add dispatch back (#6404)
Browse files Browse the repository at this point in the history
  • Loading branch information
YiniXu9506 authored Sep 8, 2021
1 parent 9240af4 commit e57a95f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"}'
- 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 }}"}'

0 comments on commit e57a95f

Please sign in to comment.