Parcourir la source

Add deployment entry for cast

Manav Rathi il y a 1 an
Parent
commit
fe636e23bb
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9 0
      scripts/deploy.sh

+ 9 - 0
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 .