From 0008821dcc7ad619c16655e1a2987a9339a1d49d Mon Sep 17 00:00:00 2001 From: osscameroon-bot Date: Sat, 20 Nov 2021 18:55:23 +0000 Subject: [PATCH] feat: update the repository --- scripts/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index fc09c61..a347852 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -22,6 +22,11 @@ echo "DEPLOY_SERVICE_DIR: $DEPLOY_SERVICE_DIR" ls $DEPLOY_SERVICE_DIR ls $DEPLOY_CONF_DIR +#update the repository +cd $DEPLOY_SERVICE_DIR +git pull --rebase origin main +cd - + echo "Start deployment..." cd $DEPLOY_SERVICE_DIR DOCKER_COMPOSE_FILES="$(find . -regex ".*-compose\.\(yml\|yaml\)")"