소스 검색

Handle the deployment for accounts app (#1616)

Manav Rathi 1 년 전
부모
커밋
7a35bc5391
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      scripts/deploy.sh

+ 3 - 4
scripts/deploy.sh

@@ -21,11 +21,10 @@ 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
-    export NEXT_PUBLIC_ENTE_ALBUM_ENDPOINT=https://dev-albums.ente.io
-
     yarn export:photos
     cp -R apps/photos/out .
 fi