mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-08 03:27:20 +00:00
feat: make update script fail if merge conflict
This commit is contained in:
parent
5a4e50b19d
commit
63c19025ef
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ echo Updating Zeppelin...
|
||||||
|
|
||||||
docker compose -f docker-compose.production.yml stop
|
docker compose -f docker-compose.production.yml stop
|
||||||
git pull
|
git pull
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "git pull failed. exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
docker compose -f docker-compose.production.yml build
|
docker compose -f docker-compose.production.yml build
|
||||||
docker compose -f docker-compose.production.yml up -d
|
docker compose -f docker-compose.production.yml up -d
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue