Преглед изворни кода

Create a deployment for accounts

Manav Rathi пре 1 година
родитељ
комит
2c0fc15694
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      scripts/deploy.sh

+ 3 - 0
scripts/deploy.sh

@@ -21,6 +21,9 @@ if test "$CF_PAGES_BRANCH" = "photos-release"; then
 elif test "$CF_PAGES_BRANCH" = "auth-release"; then
     yarn export:auth
     cp -R apps/auth/out .
+elif test "$CF_PAGES_BRANCH" = "accounts-release"; then
+    yarn export:accounts
+    cp -R apps/accounts/out .
 else
     # Apart from the named branches, everything else connects to the dev APIs.
     export NEXT_PUBLIC_ENTE_ENDPOINT=https://dev-api.ente.io