fix #7 - allow passing a custom event.json to be populated in the container filesystem

This commit is contained in:
Casey Lee
2019-01-16 13:11:32 -08:00
parent ce5fbcf2e2
commit c573d9d48a
7 changed files with 391 additions and 24 deletions

View File

@@ -16,6 +16,6 @@ action "test" {
action "deploy" {
uses = "./action2"
args = "echo 'deploy'"
runs = ["/bin/sh", "-c", "cat $GITHUB_EVENT_PATH"]
needs = ["test"]
}

3
example/event.json Normal file
View File

@@ -0,0 +1,3 @@
{
"foo": "bar"
}