Run a manual build script, if present.
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 50s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m35s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m8s
Smoke Test / Run basic test suite (pull_request) Successful in 4m40s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 10m19s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 50s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m35s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m8s
Smoke Test / Run basic test suite (pull_request) Successful in 4m40s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 10m19s
This commit is contained in:
parent
01f9fe67ed
commit
51ad1062f7
@ -11,7 +11,13 @@ WORK_DIR="${1:-/app}"
|
|||||||
OUTPUT_DIR="${2:-build}"
|
OUTPUT_DIR="${2:-build}"
|
||||||
DEST_DIR="${3:-/data}"
|
DEST_DIR="${3:-/data}"
|
||||||
|
|
||||||
if [ -f "${WORK_DIR}/package.json" ]; then
|
if [ -f "${WORK_DIR}/build-webapp.sh" ]; then
|
||||||
|
echo "Building webapp with ${WORK_DIR}/build-webapp.sh ..."
|
||||||
|
cd "${WORK_DIR}" || exit 1
|
||||||
|
|
||||||
|
rm -rf "${DEST_DIR}"
|
||||||
|
./build-webapp.sh "${DEST_DIR}" || exit 1
|
||||||
|
elif [ -f "${WORK_DIR}/package.json" ]; then
|
||||||
echo "Building node-based webapp ..."
|
echo "Building node-based webapp ..."
|
||||||
cd "${WORK_DIR}" || exit 1
|
cd "${WORK_DIR}" || exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user