1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

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 a8b6f2843d
commit 2c27f29e64
5 changed files with 39 additions and 18 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"
}