1154d1d658
Build and Push Docker Images / detect-changes (push) Successful in 15s
Build and Push Docker Images / build-auth-api (push) Successful in 1m2s
Build and Push Docker Images / build-employee-api (push) Successful in 1m2s
Build and Push Docker Images / build-transit-api (push) Successful in 1m2s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m10s
Build and Push Docker Images / build-admin-ui (push) Successful in 1m22s
Build and Push Docker Images / deploy-test-node (push) Successful in 4s
13 lines
337 B
Bash
Executable File
13 lines
337 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
cat > /usr/share/nginx/html/env-config.js <<EOF
|
|
window.__ENV__ = {
|
|
AUTH_API: "${AUTH_API:-https://auth.xtransit.testinstance.nl}",
|
|
TRANSIT_API: "${TRANSIT_API:-https://transit.xtransit.testinstance.nl}",
|
|
ERROR_LOG_API: "${ERROR_LOG_API:-https://error.xtransit.testinstance.nl}"
|
|
}
|
|
EOF
|
|
|
|
exec nginx -g 'daemon off;'
|