Commit c8df741d authored by Hines, Jesse's avatar Hines, Jesse
Browse files

Fix deploy script

parent 5b35c015
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@ set -e # Exit if any commmand fails

REGISTRY="registry.apps.marble.ccs.ornl.gov/stf218-app"

SCRIPT_DIR=$(realpath $(dirname "${BASH_SOURCE[0]}"))
cd "$SCRIPT_DIR"
BASE_DIR=$(realpath $(dirname "${BASH_SOURCE[0]}")/..)
cd "$BASE_DIR"
ENV=$1
if [ "$ENV" != "prod" ] && [ "$ENV" != "stage" ]; then
    echo 'You need to pass either "prod" or "stage"'