Skip to content

Merge pull request #40 from merico-dev/update-release-notes-with-toc-… #131

Merge pull request #40 from merico-dev/update-release-notes-with-toc-…

Merge pull request #40 from merico-dev/update-release-notes-with-toc-… #131

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" }'