-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5075 from storybooks/tech/try-github-workflos
Tech/try GitHub workflows
- Loading branch information
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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!\"" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh -l | ||
|
||
sh -c "echo $*" |