From 4e3fc349c7d02787f257c81852190d0b0e060625 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Fri, 6 Jun 2025 13:42:38 -0400 Subject: [PATCH] remove public alpha cdn --- packages/webawesome/publish-alpha-cdn.sh | 32 ------------------------ 1 file changed, 32 deletions(-) delete mode 100755 packages/webawesome/publish-alpha-cdn.sh diff --git a/packages/webawesome/publish-alpha-cdn.sh b/packages/webawesome/publish-alpha-cdn.sh deleted file mode 100755 index dba4b7b55..000000000 --- a/packages/webawesome/publish-alpha-cdn.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -version=$1 - -# Check for a version number -if [ -z "$version" ]; then - echo "A version number must be provided as the first and only argument." - echo - exit 2 -fi - -echo "This command will build Web Awesome $version and publish it to the the CDN." -echo -read -p "🔥 Are you sure you want to do this? (y/N) " -n 1 -r -echo -if [[ $REPLY =~ ^[Yy]$ ]] -then - # do dangerous stuff - echo - echo "🚀 OK, blasting off..." - - # build it - npm run build || { echo >&2 "❌ Something went wrong."; exit 1; } - - # copy dist-cdn to the CDN - aws --profile early-webawesome-com --endpoint-url https://c0c64e1b38a89d8ae060d40170ceef46.r2.cloudflarestorage.com s3 cp ./dist-cdn s3://early-webawesome-com/webawesome@$version/dist --recursive || { echo >&2 "❌ Something went wrong."; exit 1; } - - echo - echo "✅ All done. Now go make something awesome!" - echo - exit 0 -fi