Skip to content

Commit

Permalink
Configure AWS variables for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Apr 18, 2023
1 parent c4d8a32 commit c2d961c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ orbs:
aws-cli: circleci/aws-cli@3.1.3
version: 2.1
jobs:
aws-cli-cred-setup:
executor: aws-cli/default
steps:
- aws-cli/setup:
aws-access-key-id: AWS_ACCESS_KEY
aws-secret-access-key: AWS_ACCESS_SECRET
aws-region: AWS_REGION_NAME
build_and_test:
docker:
# specify the version you desire here
Expand Down Expand Up @@ -143,11 +150,15 @@ jobs:

workflows:
version: 2
aws-cli:
jobs:
- aws-cli-cred-setup:
context: aws
test_build_deploy:
jobs:
- build_and_test
- deploy:
requires:
- build_and_test
filters: { branches: { only: [ main, master, deployment-upgrades] } }
filters: { branches: { only: [ main, master, deployment-upgrades ] } }
context: [ deployment-production-ynr ]

0 comments on commit c2d961c

Please sign in to comment.