Make sure to clone on deploy as well
This commit is contained in:
parent
33a49a8457
commit
57e3a34133
5
abra
5
abra
@ -502,6 +502,8 @@ sub_app_deploy (){
|
|||||||
load_instance
|
load_instance
|
||||||
load_instance_env
|
load_instance_env
|
||||||
|
|
||||||
|
require_app_clone "$APP"
|
||||||
|
|
||||||
echo "About to deploy:"
|
echo "About to deploy:"
|
||||||
echo " Server: $(tput setaf 4)${SERVER}$(tput sgr0)"
|
echo " Server: $(tput setaf 4)${SERVER}$(tput sgr0)"
|
||||||
if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then
|
if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then
|
||||||
@ -521,6 +523,9 @@ sub_app_deploy (){
|
|||||||
|
|
||||||
prompt_confirm
|
prompt_confirm
|
||||||
|
|
||||||
|
APP=$(basename "$APP_DIR")
|
||||||
|
require_app_clone "$APP"
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found"
|
cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
Loading…
Reference in New Issue
Block a user