From 04aa84a2af187d8791e27381068305be525ce289 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 9 Nov 2019 22:48:30 +0900 Subject: [PATCH] Update examples --- examples.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples.md b/examples.md index 2f73670..1afc1ad 100644 --- a/examples.md +++ b/examples.md @@ -128,7 +128,8 @@ This pattern will work well for updating any kind of static content from an exte You can modify any of the examples in the previous section to work in this fashion. Set the workflow to execute `on: repository_dispatch`. -``` + +```yml on: repository_dispatch: types: [create-pull-request] @@ -154,7 +155,7 @@ curl -XPOST -u "[username]:[token]" \ An `on: repository_dispatch` workflow can be triggered from another workflow with [repository-dispatch](https://github.com/peter-evans/repository-dispatch) action. -``` +```yml - name: Repository Dispatch uses: peter-evans/repository-dispatch@v1.0.0 with: