change exit to be command specific
All checks were successful
Publish / build_and_publish_docker_image (push) Successful in 1m39s
All checks were successful
Publish / build_and_publish_docker_image (push) Successful in 1m39s
prevents removing old builds from exiting the script
This commit is contained in:
parent
5d4dc026f3
commit
8effd842b9
@ -22,8 +22,6 @@
|
||||
# SOFTWARE.
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# Default the TZ environment variable to UTC.
|
||||
TZ=${TZ:-UTC}
|
||||
export TZ
|
||||
@ -47,7 +45,7 @@ node --version
|
||||
rm -r config/ defaultconfigs/ config-overrides/ kubejs/ mods/
|
||||
rm -r ./Monifactory/dist/*
|
||||
echo "Building server..."
|
||||
node ./Monifactory/build/index.ts build-server
|
||||
node ./Monifactory/build/index.ts build-server || exit 1
|
||||
echo "Copying files"
|
||||
cp -r ./Monifactory/dist/server/* .
|
||||
./pack-mode-switcher.sh h
|
||||
|
||||
Loading…
Reference in New Issue
Block a user