Run script for renaming build files with bash

This commit is contained in:
Nabarun 2023-12-11 17:28:07 +05:30
parent df12842323
commit 06ae766476
3 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
volumes: volumes:
- ../config/osmosis/nginx:/etc/nginx/conf.d - ../config/osmosis/nginx:/etc/nginx/conf.d
- app_builds:/app-builds - app_builds:/usr/share/nginx
ports: ports:
- "80" - "80"
healthcheck: healthcheck:

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e set -e
if [ -n "$CERC_SCRIPT_DEBUG" ]; then if [ -n "$CERC_SCRIPT_DEBUG" ]; then
@ -12,6 +12,7 @@ if [ -d /app-builds/osmosis/build ]; then
fi fi
yarn build:static yarn build:static
./build.sh
# Move build to app-builds # Move build to app-builds
mkdir -p /app-builds/osmosis mkdir -p /app-builds/osmosis

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e set -e
if [ -n "$CERC_SCRIPT_DEBUG" ]; then if [ -n "$CERC_SCRIPT_DEBUG" ]; then