diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 000000000000..d6ac5ffe6217 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,12 @@ +workflow "New workflow" { + on = "push" + resolves = ["Hello World"] +} + +action "Hello World" { + uses = "./ci/action-a" + env = { + MY_NAME = "Mona" + } + args = "\"Hello world, I'm $MY_NAME!\"" +} diff --git a/README.md b/README.md index 34119b634c2f..606c81aadfaf 100644 --- a/README.md +++ b/README.md @@ -260,3 +260,5 @@ Support us with a monthly donation and help us continue our activities. \[[Becom ## License [MIT](https://github.com/storybooks/storybook/blob/master/LICENSE) + +-the end- \ No newline at end of file diff --git a/ci/action-a/Dockerfile b/ci/action-a/Dockerfile new file mode 100644 index 000000000000..1c854b5edfd8 --- /dev/null +++ b/ci/action-a/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:9.5-slim + +LABEL "com.github.actions.name"="Hello World" +LABEL "com.github.actions.description"="Write arguments to the standard output" +LABEL "com.github.actions.icon"="mic" +LABEL "com.github.actions.color"="purple" + +LABEL "repository"="http://github.com/storybooks/storybook" +LABEL "homepage"="http://github.com/storybooks" +LABEL "maintainer"="Norbert de Langen " + +ADD entrypoint.sh /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] diff --git a/ci/action-a/README.md b/ci/action-a/README.md new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/ci/action-a/entrypoint.sh b/ci/action-a/entrypoint.sh new file mode 100644 index 000000000000..335a7e73218d --- /dev/null +++ b/ci/action-a/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh -l + +sh -c "echo $*"