mirror of
https://github.com/drone-plugins/github-actions
synced 2024-11-15 02:56:25 +01:00
Merge pull request #3 from drone-plugins/fix_workdir_mount
This commit is contained in:
commit
96d8f149da
@ -53,7 +53,8 @@ steps:
|
|||||||
|
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--privileged \
|
--privileged \
|
||||||
-w /drone \
|
-v $(pwd):/drone \
|
||||||
|
-w /drone \
|
||||||
-e PLUGIN_USES="actions/hello-world-javascript-action@v1.1" \
|
-e PLUGIN_USES="actions/hello-world-javascript-action@v1.1" \
|
||||||
-e PLUGIN_WITH="{\"who-to-greet\":\"Mona the Octocat\"}" \
|
-e PLUGIN_WITH="{\"who-to-greet\":\"Mona the Octocat\"}" \
|
||||||
-e PLUGIN_VERBOSE=true \
|
-e PLUGIN_VERBOSE=true \
|
||||||
|
@ -47,6 +47,7 @@ func (p Plugin) Exec() error {
|
|||||||
workflowFile,
|
workflowFile,
|
||||||
"-P",
|
"-P",
|
||||||
fmt.Sprintf("ubuntu-latest=%s", p.Action.Image),
|
fmt.Sprintf("ubuntu-latest=%s", p.Action.Image),
|
||||||
|
"-b",
|
||||||
"--detect-event",
|
"--detect-event",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user