mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 21:47:38 +00:00
* Update CI and CD scripts * Fix docker docs build * Fix CD * Fix CD * Update front build and add postgres intel pg_graphql files * Fix postgres install * Fix * Update docs
12 lines
No EOL
292 B
Bash
Executable file
12 lines
No EOL
292 B
Bash
Executable file
#!/bin/sh
|
|
echo "Generating env-config.js file from runtime environment variables..."
|
|
|
|
BASE_FILENAME="build/env-config.js"
|
|
mkdir -p build
|
|
rm -rf "./$BASE_FILENAME"
|
|
|
|
{
|
|
echo "window._env_ = {"
|
|
echo " REACT_APP_SERVER_BASE_URL: \"$REACT_APP_SERVER_BASE_URL\","
|
|
echo "}"
|
|
} > "./$BASE_FILENAME" |