faltaba una coma para compilar correctamente las variables en el sh
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 26s

This commit is contained in:
2025-06-09 17:22:47 -06:00
parent 264f7f3c48
commit 39be1a2d27

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
echo "window.RUNTIME_CONFIG = {" > /usr/share/nginx/html/config.js echo "window.RUNTIME_CONFIG = {" > /usr/share/nginx/html/config.js
echo " VITE_API_EVENTS_URL: '${VITE_API_EVENTS_URL}'" >> /usr/share/nginx/html/config.js echo " VITE_API_EVENTS_URL: '${VITE_API_EVENTS_URL}'," >> /usr/share/nginx/html/config.js
echo " VITE_API_DB_URL: '${VITE_API_DB_URL}'" >> /usr/share/nginx/html/config.js echo " VITE_API_DB_URL: '${VITE_API_DB_URL}'" >> /usr/share/nginx/html/config.js
echo "};" >> /usr/share/nginx/html/config.js echo "};" >> /usr/share/nginx/html/config.js