diff --git a/.circleci/config.yml b/.circleci/config.yml index b9f29bf95..86038748c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -113,7 +113,7 @@ jobs: command: echo "$DOCKER_PAT" | docker login --username $DOCKER_USER --password-stdin - run: name: tag-and-push-api - command: ./tag_and_push_image.sh api $CIRCLE_TAG + command: ./scripts/deploy/push_api_docker.sh $CIRCLE_TAG push_frontend: working_directory: ~/recipesage # directory where steps will run docker: diff --git a/scripts/deploy/push_static_s3.sh b/scripts/deploy/push_static_s3.sh index ec16f46d3..44275eb28 100755 --- a/scripts/deploy/push_static_s3.sh +++ b/scripts/deploy/push_static_s3.sh @@ -12,6 +12,8 @@ then exit 1 fi +mkdir -p www-revhashed + find www/ -regextype egrep -regex '.+\.[a-f0-9]{20}\..+' -exec mv -t www-revhashed/ -- {} + sync_to_s3 () {