Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add deployment entry for cast

Manav Rathife636e23bbc2
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 38883a63bf..eb3e26b2df 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -9,6 +9,11 @@
# to `out/` (symlinking didn't work).
#
# Ref: https://developers.cloudflare.com/pages/how-to/build-commands-branches/
+#
+# To test this script locally, run
+#
+# CF_PAGES_BRANCH=foo-bar ./scripts/deploy.sh
+#
set -o errexit
set -o xtrace
@@ -24,6 +29,10 @@ case "$CF_PAGES_BRANCH" in
yarn build:auth
cp -R apps/auth/out .
;;
+ cast-*)
+ yarn build:cast
+ cp -R apps/cast/out .
+ ;;
*)
yarn build:photos
cp -R apps/photos/out .