From b6c983e620355f519f6e975776b60c05d1588842 Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Thu, 24 Jan 2019 22:05:14 +0100 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..bd1d29c --- /dev/null +++ b/.github/main.workflow @@ -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" +}