zappyzep/update.sh
rubyowo b881245640
feat: make update script exit if one of the commands fail (#415)
* feat: make update script fail if merge conflict

* stop on first error with bash command

---------

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:36:56 +00:00

11 lines
240 B
Bash
Executable file

#!/bin/bash
set -e
echo Updating Zeppelin...
docker compose -f docker-compose.production.yml stop
git pull
docker compose -f docker-compose.production.yml build
docker compose -f docker-compose.production.yml up -d
echo Update finished!