fixed repo-update

darta 2022-01-17 07:34:40 +01:00
parent 3c7f244600
commit 891ca0e529
1 changed files with 3 additions and 3 deletions

6
dd-ctl
View File

@ -32,10 +32,10 @@ CUSTOM_PATH=$(pwd)
. ./.env
update_repo(){
git fetch && git reset --hard origin/$BRANCH
git fetch && git checkout $BRANCH
git submodule update --init --recursive
cd isard-apps && git fetch && git reset --hard origin/$BRANCH && cd ..
cd isard-sso && git fetch && git reset --hard origin/$BRANCH && cd ..
cd isard-apps && git fetch && git checkout $BRANCH && cd ..
cd isard-sso && git fetch && git checkout $BRANCH && cd ..
}
build_compose(){