From c451f7ec4794b5f8fbf264bfdbd530a77fe12cdc Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Fri, 5 Mar 2021 09:34:17 -0500 Subject: [PATCH] Update aws.yml --- ci/aws.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/aws.yml b/ci/aws.yml index 40094ae..a3defb3 100644 --- a/ci/aws.yml +++ b/ci/aws.yml @@ -22,6 +22,9 @@ # 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`. # See the documentation for each action used below for the recommended IAM policies for this IAM user, # and best practices on handling the access key credentials. +# +# 5. Create an environment named "production". +# For instructions see https://docs.github.com/en/actions/reference/environments#creating-an-environment. on: release: @@ -33,6 +36,7 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest + environment: production steps: - name: Checkout @@ -77,4 +81,4 @@ jobs: task-definition: ${{ steps.task-def.outputs.task-definition }} service: sample-app-service cluster: default - wait-for-service-stability: true \ No newline at end of file + wait-for-service-stability: true