Skip to content

Commit

Permalink
Send a repository_dispatch event to the bpmn-visualization-examples a…
Browse files Browse the repository at this point in the history
…fter demo archive build
  • Loading branch information
csouchet committed Mar 4, 2021
1 parent 93f6e79 commit e9c459e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/upload-demo-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,19 @@ jobs:
with:
name: demo-${{github.sha}}
path: build/demo
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v*}
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_RELEASE_TOKEN }}
repository: process-analytics/bpmn-visualization-examples
event-type: update_bpmn_visualization_version
client-payload: '{
"build_demo_repo": "${{ github.repository }}",
"build_demo_workflow_id": "upload-demo-archive.yml",
"demo_sha": "${{ github.sha }}",
"version": "${{ steps.get_version.outputs.VERSION }}"
}'

0 comments on commit e9c459e

Please sign in to comment.