Merge pull request #50 from merico-dev/update-release-notes-with-toc-… #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: staging dispath | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract sha | |
id: extract | |
shell: bash | |
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.DISPATCH_TOKEN }} | |
repository: merico-dev/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 }}", "env": "staging" }' |