Commit 1a230c00 authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent aafb53d9
...@@ -16,10 +16,14 @@ INSTANCE_NAME=${2} ...@@ -16,10 +16,14 @@ INSTANCE_NAME=${2}
# Stable version # Stable version
VERSION=${3} VERSION=${3}
APP_PATH=${4}
PATH_TO_SCRIPTS_DIR=${4}/scripts PATH_TO_SCRIPTS_DIR=${4}/scripts
PATH_TO_NGINX_CONFIG_FILE=${PATH_TO_SCRIPTS_DIR}/nginx/default.conf PATH_TO_NGINX_CONFIG_FILE=${PATH_TO_SCRIPTS_DIR}/nginx/default.conf
APPLICATION_ROOT_PATH=/home/deploy APPLICATION_ROOT_PATH=/home/deploy
echo "APP_PATH ${APP_PATH}"
echo "PATH_TO_SCRIPTS_DIR ${APP_PATH}"
# Archive name # Archive name
LATEST_ARTIFACT_NAME=application-${VERSION}.tar.gz LATEST_ARTIFACT_NAME=application-${VERSION}.tar.gz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment