Commit 2d981908 authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent e9dac031
...@@ -45,7 +45,8 @@ echo ${VERSION} > VERSION ...@@ -45,7 +45,8 @@ echo ${VERSION} > VERSION
scp VERSION ${HOST}:${APPLICATION_ROOT_PATH} scp VERSION ${HOST}:${APPLICATION_ROOT_PATH}
# shellcheck disable=SC2087 # shellcheck disable=SC2087
ssh ${HOST} su <<EOL echo ${HOST}
ssh ${HOST} sudo <<EOL
chmod +x apply-update.sh chmod +x apply-update.sh
${APPLICATION_ROOT_PATH}/apply-update.sh ${INSTANCE_NAME} ${LATEST_ARTIFACT_NAME} ${APPLICATION_ROOT_PATH} ${APPLICATION_ROOT_PATH}/apply-update.sh ${INSTANCE_NAME} ${LATEST_ARTIFACT_NAME} ${APPLICATION_ROOT_PATH}
EOL EOL
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