Skip to content

armgit / ente

Public Imported from GitHub
0

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

Copy the out directory

Manav Rathie083c7caf2ca
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 82e4b63c36..9a305dd036 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -7,16 +7,18 @@
# Ref: https://developers.cloudflare.com/pages/how-to/build-commands-branches/
#
# The CF Pages configuration is set to use `out/` as the build output directory,
-# so once we're done building we symlink `out/` to the app specific output.
+# so once we're done building we copy the app specific output to `out/`.
set -o errexit
set -o xtrace
+rm -rf out
+
if test "$CF_PAGES_BRANCH" = "auth-release"
then
yarn export:auth
- ln -sf apps/auth/out
+ cp -R apps/auth/out .
else
yarn export:photos
- ln -sf apps/photos/out
+ cp -r apps/photos/out .
fi