Skip to content

Commit

Permalink
update dispatch workflow (#10155) (#10160)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Aug 25, 2022
1 parent 1072029 commit 06ee706
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Trigger docs site update

on:
push:
paths-ignore:
- ".github/**"
branches:
- master
- release-*
Expand All @@ -17,14 +19,6 @@ jobs:
run: |
echo "::set-output name=sha::$(sha=${{ github.sha }}; echo ${sha:0:6})"
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PR_TRIGGER_BUILD_TOKEN }}
repository: pingcap/website-docs
event-type: ${{ github.repository }}/${{ github.ref_name }}-${{ steps.extract.outputs.sha }}
client-payload: '{ "repo": "${{ github.repository }}", "ref": "${{ github.ref_name }}", "sha": "${{ github.sha }}" }'

- name: trigger docs-staging workflow
run: |
curl \
Expand Down

0 comments on commit 06ee706

Please sign in to comment.