Skip to content

Commit 0008821

Browse files
feat: update the repository
1 parent 7f402e8 commit 0008821

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/deploy.sh

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ echo "DEPLOY_SERVICE_DIR: $DEPLOY_SERVICE_DIR"
2222
ls $DEPLOY_SERVICE_DIR
2323
ls $DEPLOY_CONF_DIR
2424

25+
#update the repository
26+
cd $DEPLOY_SERVICE_DIR
27+
git pull --rebase origin main
28+
cd -
29+
2530
echo "Start deployment..."
2631
cd $DEPLOY_SERVICE_DIR
2732
DOCKER_COMPOSE_FILES="$(find . -regex ".*-compose\.\(yml\|yaml\)")"

0 commit comments

Comments
 (0)