Skip to content

Commit

Permalink
fix circle confir deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
Troyhy committed Jan 28, 2022
1 parent ac05376 commit 9b385cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9b385cf

Please sign in to comment.