Update main.workflow

This commit is contained in:
Julien Bisconti 2019-01-24 22:05:14 +01:00 committed by GitHub
parent 8bad271d71
commit b6c983e620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

30
.github/main.workflow vendored Normal file
View File

@ -0,0 +1,30 @@
workflow "New workflow" {
on = "push"
resolves = ["Shell"]
}
action "npm install" {
uses = "actions/npm@de7a3705a9510ee12702e124482fad6af249991b"
args = "install"
}
action "npm run build" {
uses = "actions/npm@de7a3705a9510ee12702e124482fad6af249991b"
needs = ["npm install"]
args = "run build"
}
action "Shell" {
uses = "veggiemonk/bin/git@master"
args = "status"
needs = ["npm run build"]
secrets = ["GITHUB_TOKEN"]
env = {
"GIT_EMAIL" = "alex.blaine@layder.io"
GIT_USERNAME = "veggiemonk"
}
}
workflow "New workflow 1" {
on = "push"
}