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
volumes:
- ../config/osmosis/nginx:/etc/nginx/conf.d
- app_builds:/app-builds
- app_builds:/usr/share/nginx
ports:
- "80"
healthcheck:

View File

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

View File

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