From 411d2bdbba1ddb3fc932fcb978b478dd8c67cb4d Mon Sep 17 00:00:00 2001 From: Bernard Wolff <2744510+bernardwolff@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:15:36 +0000 Subject: [PATCH] update css paths for cdn upload --- tools/cdn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cdn.sh b/tools/cdn.sh index 63e4c028..b059528a 100755 --- a/tools/cdn.sh +++ b/tools/cdn.sh @@ -7,13 +7,13 @@ ADMIN_CDN_EXISTS=$(aws s3 ls s3://assets.us.auth0.com/css/$EXTENSION_NAME/$CURRE if [ ! -z "$CDN_EXISTS" ]; then echo "There is already a version $CURRENT_VERSION in the cdn. Skipping cdn publish…" else - aws s3 cp public/css/link.min.css s3://assets.us.auth0.com/extensions/$EXTENSION_NAME/$CURRENT_VERSION/link.min.css --region us-west-1 --quiet --cache-control "max-age=86400" --acl public-read + aws s3 cp dist/assets/link.$CURRENT_VERSION.min.css s3://assets.us.auth0.com/extensions/$EXTENSION_NAME/$CURRENT_VERSION/link.$CURRENT_VERSION.min.css --region us-west-1 --quiet --cache-control "max-age=86400" --acl public-read echo "$CURRENT_VERSION uploaded to the cdn" fi if [ ! -z "$ADMIN_CDN_EXISTS" ]; then echo "There is already a version $CURRENT_VERSION in the cdn. Skipping cdn publish…" else - aws s3 cp public/css/admin.min.css s3://assets.us.auth0.com/extensions/$EXTENSION_NAME/$CURRENT_VERSION/admin.min.css --region us-west-1 --quiet --cache-control "max-age=86400" --acl public-read + aws s3 cp dist/assets/admin.$CURRENT_VERSION.min.css s3://assets.us.auth0.com/extensions/$EXTENSION_NAME/$CURRENT_VERSION/admin.$CURRENT_VERSION.min.css --region us-west-1 --quiet --cache-control "max-age=86400" --acl public-read echo "$CURRENT_VERSION uploaded to the cdn" fi