Run script for renaming build files with bash
This commit is contained in:
parent
df12842323
commit
06ae766476
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user