Update CI script

This commit is contained in:
Joshua Granick
2018-07-09 21:16:30 -07:00
parent 7c2973898b
commit 5c282634d0

View File

@@ -117,7 +117,7 @@ jobs:
name: Deploy name: Deploy
command: | command: |
if [ "${CIRCLE_BRANCH}" == "develop" ]; then if [ "${CIRCLE_BRANCH}" == "develop" ]; then
aws s3 sync docs-api s3://api.lime.software --acl bucket-owner-full-control --acl public-read --size-only --delete --include="*" --cache-control max-age=864000 aws s3 sync pages s3://api.lime.software --acl bucket-owner-full-control --acl public-read --size-only --delete --include="*" --cache-control max-age=864000
else else
echo "Not on master (skipping step)" echo "Not on master (skipping step)"
fi fi