From fa281b243946eaaa6f7243ff261d1abe554d1571 Mon Sep 17 00:00:00 2001 From: Alex Kern Date: Sat, 1 Jun 2019 18:25:04 -0700 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index 3731bfb..2b587ae 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,6 +1,6 @@ workflow "Build on push" { - resolves = ["Docker build, tag, and push"] on = "push" + resolves = ["GitHub Action for AWS"] } action "Docker build, tag, and push" { @@ -12,3 +12,10 @@ action "Docker build, tag, and push" { action "AWS deployment" { uses = "actions/aws/cli@efb074ae4510f2d12c7801e4461b65bf5e8317e6" } + +action "GitHub Action for AWS" { + uses = "actions/aws/cli@efb074ae4510f2d12c7801e4461b65bf5e8317e6" + needs = ["Docker build, tag, and push"] + secrets = ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"] + runs = "aws" +}