mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 11:03:40 +03:00
2496431703
* 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
292 B
Bash
Executable File
12 lines
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" |