diff --git a/README.md b/README.md index 5ad8559..fd47bde 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,8 @@ steps: docker run --rm \ --privileged \ - -w /drone \ + -v $(pwd):/drone \ + -w /drone \ -e PLUGIN_USES="actions/hello-world-javascript-action@v1.1" \ -e PLUGIN_WITH="{\"who-to-greet\":\"Mona the Octocat\"}" \ -e PLUGIN_VERBOSE=true \ diff --git a/plugin.go b/plugin.go index a46473f..d8c691e 100644 --- a/plugin.go +++ b/plugin.go @@ -47,6 +47,7 @@ func (p Plugin) Exec() error { workflowFile, "-P", fmt.Sprintf("ubuntu-latest=%s", p.Action.Image), + "-b", "--detect-event", }