mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-28 11:46:02 +08:00
* Start creating action release flow * Updates build workflow * Removes one step * Another try * Tweaks to build paths * Fixes docker ignore * Tweaks to database migration * Removes useless entrypoint * Fixes to database files * More tweaks to build * Tweaks to base URL * Allows for config file to override env * Tweak to order * Next try * Fixes comma error * Another try * Adds a health endpoint * Try Nginx proxy pass * Re-adds environment path * Remove auto build on branch * Linter fixes
10 lines
No EOL
178 B
Bash
10 lines
No EOL
178 B
Bash
#!/bin/bash
|
|
|
|
ENV_JS="./config.js"
|
|
|
|
rm -rf ${ENV_JS}
|
|
touch ${ENV_JS}
|
|
|
|
varname='API_BASE_URL'
|
|
value=$(printf '%s\n' "${!varname}")
|
|
echo "window.$varname = \"$value\";" >> ${ENV_JS} |