diff --git a/.circleci/config.yml b/.circleci/config.yml index a6777d7..5ad93f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,7 @@ jobs: - run: name: Get deploy dir command: | - echo 'export DEPLOY_DIR=$( if [ "$CIRCLE_TAG" =~ "^v.*" ]; then echo "$CIRCLE_TAG"; else echo "${CIRCLE_SHA1:0:7}"; fi )' >> $BASH_ENV + echo 'export DEPLOY_DIR=$( if [[ "$CIRCLE_TAG" =~ "^v.*" ]]; then echo "$CIRCLE_TAG"; else echo "${CIRCLE_SHA1:0:7}"; fi )' >> $BASH_ENV cat $BASH_ENV - aws-s3/sync: