-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into minhd-vu/fund-l2-accounts
- Loading branch information
Showing
7 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
diff --git a/scripts/deploy.sh b/scripts/deploy.sh | ||
index 22e5b09..00da634 100644 | ||
index 22e5b09..b751cbd 100644 | ||
--- a/scripts/deploy.sh | ||
+++ b/scripts/deploy.sh | ||
@@ -21,6 +21,9 @@ echo "VITE_POLYGON_ZK_EVM_NETWORK_ID=$POLYGON_ZK_EVM_NETWORK_ID" >> $ENV_FILENAM | ||
# BRIDGE API env vars | ||
echo "VITE_BRIDGE_API_URL=$BRIDGE_API_URL" >> $ENV_FILENAME | ||
|
||
+# Support for relative URLS | ||
+echo "VITE_RESOLVE_RELATIVE_URLS=$RESOLVE_RELATIVE_URLS" >> $ENV_FILENAME | ||
+ | ||
# FIAT EXCHANGE RATES API env vars | ||
echo "VITE_ENABLE_FIAT_EXCHANGE_RATES=$ENABLE_FIAT_EXCHANGE_RATES" >> $ENV_FILENAME | ||
|
||
@@ -91,17 +94,5 @@ fi | ||
echo "Generated .env file:" | ||
echo "$(cat /app/.env)" | ||
|
||
-# Build app | ||
-cd /app && npm run build | ||
- | ||
-# Copy nginx config | ||
-cp /app/deployment/nginx.conf /etc/nginx/conf.d/default.conf | ||
- | ||
-# Copy app dist | ||
-cp -r /app/dist/. /usr/share/nginx/html | ||
- | ||
-# Delete source code | ||
-rm -rf /app | ||
- | ||
# Run nginx | ||
nginx -g 'daemon off;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters