Skip to content

Commit

Permalink
fix: Skip res-suit when aws credential is not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeliwo committed Jul 23, 2019
1 parent 95ce461 commit fc4282d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ commands:
run-reg-suit:
steps:
- checkout
- run: |
if [ -z "$AWS_ACCESS_KEY_ID" ]; then
echo "No AWS_ACCESS_KEY_ID is set! Failing..."
exit 1;
else
echo "Credentials are available."
fi
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
Expand Down

0 comments on commit fc4282d

Please sign in to comment.