Skip to content

Commit

Permalink
fix bash env
Browse files Browse the repository at this point in the history
  • Loading branch information
Troyhy committed Jan 28, 2022
1 parent e1dccde commit ac05376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ 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:
arguments: |
Expand Down

0 comments on commit ac05376

Please sign in to comment.