We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ed8da1 + 54dc76b commit 2bfccedCopy full SHA for 2bfcced
.circleci/config.yml
@@ -60,6 +60,13 @@ commands:
60
- attach_workspace:
61
at: /tmp/dist
62
- aws-cli/install
63
+ - run:
64
+ name: Check AWS credentials
65
+ command: |
66
+ if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ]; then
67
+ echo "AWS credentials not found"
68
+ circleci-agent step halt
69
+ fi
70
- aws-s3/sync:
71
arguments: --cache-control public,max-age=300,stale-while-revalidate=300 --exclude * --include *.html --include *.txt --include *.json --include *.md --include *.xml
72
from: /tmp/dist/s2-docs/<< parameters.dir >>
0 commit comments